This is an automated email from the ASF dual-hosted git repository.
jieyu pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/1.7.x by this push:
new a88f45c Used the tagged based image for Mesos mini.
a88f45c is described below
commit a88f45ca01fa89b58be0091f025f76fb08a69a30
Author: Jie Yu <[email protected]>
AuthorDate: Wed Nov 7 13:42:27 2018 -0800
Used the tagged based image for Mesos mini.
(cherry picked from commit 0ec23ce019d887048dafef48439142666e5cbf3d)
---
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}/"