diff options
-rwxr-xr-x | share/spack/packages/build-image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/packages/build-image.sh b/share/spack/packages/build-image.sh index c068d11715..adde5842ab 100755 --- a/share/spack/packages/build-image.sh +++ b/share/spack/packages/build-image.sh @@ -13,5 +13,5 @@ export IMAGE="spack/packages.spack.io:latest" if [ "$script" '=' 'push-image.sh' ] ; then docker push "${IMAGE}" else - docker build -f -t "${IMAGE}" . + docker build --no-cache --force-rm -t "${IMAGE}" . fi |