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