summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/spack/packages/build-image.sh2
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