This is an automated email from the ASF dual-hosted git repository.
jieyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 0ec23ce Used the tagged based image for Mesos mini.
0ec23ce is described below
commit 0ec23ce019d887048dafef48439142666e5cbf3d
Author: Jie Yu <[email protected]>
AuthorDate: Wed Nov 7 13:42:27 2018 -0800
Used the tagged based image for Mesos mini.
---
support/mesos-mini/build.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/support/mesos-mini/build.sh b/support/mesos-mini/build.sh
index eb9d187..1bf2903 100755
--- a/support/mesos-mini/build.sh
+++ b/support/mesos-mini/build.sh
@@ -18,9 +18,10 @@ if ! [ -x "$(command -v docker)" ]; then
fi
DOCKER_IMAGE=${DOCKER_IMAGE_DISTRO} \
+DOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG} \
"${SUPPORT_DIR}/packaging/centos/build-docker-centos.sh"
docker build \
- --build-arg "BASE_IMAGE_NAME=${DOCKER_IMAGE_DISTRO}" \
+ --build-arg "BASE_IMAGE_NAME=${DOCKER_IMAGE_DISTRO}:${DOCKER_IMAGE_TAG}" \
-t "${DOCKER_IMAGE}:${DOCKER_IMAGE_TAG}" \
"${CURRENT_DIR}/"