From 17df51cf03f0e8fe547ad9ec3dbf0191266cbedc Mon Sep 17 00:00:00 2001 From: Yuqi Gu Date: Mon, 25 Sep 2023 15:53:02 +0800 Subject: [PATCH] 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 660ba2361d..c9d194cba2 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 6514e1cb3a..32eeb9a1c3 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