Unverified Commit bfea5ed5 authored by Glenn Walbran's avatar Glenn Walbran
Browse files

build-builder.sh use --pull argument of docker build

The `--pull` argument of docker build will ensure the latest base
images are used. This is better than manually pulling the base image
as you don't need to know what is it. Or change it in two places if
the base image is changed.
parent 953c0ba5
......@@ -4,5 +4,4 @@
BASE_DIR=$(dirname $0)
cd ${BASE_DIR}
docker pull debian:stable
docker build --build-arg IMAGE_UID=`id -u` --build-arg IMAGE_GID=`id -g` --tag mahara/docbuilder .
docker build --pull --build-arg IMAGE_UID=`id -u` --build-arg IMAGE_GID=`id -g` --tag mahara/docbuilder .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment