-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_image.sh
executable file
·20 lines (17 loc) · 988 Bytes
/
build_image.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# **************************************************************************** #
# #
# ::: :::::::: #
# build_image.sh :+: :+: :+: #
# +:+ +:+ +:+ #
# By: fbellott <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/09/19 13:49:45 by fbellott #+# #+# #
# Updated: 2016/09/22 12:12:06 by fbellott ### ########.fr #
# #
# *****************************************************************************#
if [ $# -le 0 ]; then
echo 'Usage: '$0' <image_name>'
exit 1
fi
docker build -t $1 .
exit 0