packages service: fix docker build (#12773)

The build instructions I cloned from did not work ;)
This commit is contained in:
Axel Huebl 2019-09-09 16:41:04 -07:00 committed by GitHub
parent 221acadc7d
commit 0d270e0d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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