This is an automated email from the ASF dual-hosted git repository.
guyuqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new 17df51cf0 BIGTOP-3996: Force a clean build of toolchain images (#1178)
17df51cf0 is described below
commit 17df51cf03f0e8fe547ad9ec3dbf0191266cbedc
Author: Yuqi Gu <[email protected]>
AuthorDate: Mon Sep 25 15:53:02 2023 +0800
BIGTOP-3996: Force a clean build of toolchain images (#1178)
---
docker/bigtop-puppet/build.sh | 2 +-
docker/bigtop-slaves/build.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docker/bigtop-puppet/build.sh b/docker/bigtop-puppet/build.sh
index 660ba2361..c9d194cba 100755
--- a/docker/bigtop-puppet/build.sh
+++ b/docker/bigtop-puppet/build.sh
@@ -63,5 +63,5 @@ case "${OS}-${VERSION}" in
;;
esac
-docker build -t bigtop/puppet:${PREFIX}-${OS}-${VERSION}${ARCH} .
+docker build -t --no-cache bigtop/puppet:${PREFIX}-${OS}-${VERSION}${ARCH} .
rm -f Dockerfile puppetize.sh
diff --git a/docker/bigtop-slaves/build.sh b/docker/bigtop-slaves/build.sh
index 6514e1cb3..32eeb9a1c 100755
--- a/docker/bigtop-slaves/build.sh
+++ b/docker/bigtop-slaves/build.sh
@@ -89,5 +89,5 @@ fi
sed -e "s|PREFIX|${PREFIX}|;s|OS|${OS}|;s|VERSION|${VERSION}|"
Dockerfile.template | \
sed -e
"s|PUPPET_MODULES|${PUPPET_MODULES}|;s|UPDATE_SOURCE|${UPDATE_SOURCE}|" >
Dockerfile
-docker build ${NETWORK} --rm -t bigtop/slaves:${PREFIX}-${OS}-${VERSION} -f
Dockerfile ../..
+docker build ${NETWORK} --rm --no-cache -t
bigtop/slaves:${PREFIX}-${OS}-${VERSION} -f Dockerfile ../..
rm -f Dockerfile