summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/docker-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/docker-build b/bin/docker-build
index abc46c1..263b690 100755
--- a/bin/docker-build
+++ b/bin/docker-build
@@ -9,7 +9,7 @@ IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest}
export DOCKER_BUILDKIT=1
if command -v docker; then
- docker build --network=host --cache-from "$LATEST_IMAGE" -t "$IMAGE_NAME" .
+ docker build --network=host --pull --force-rm --cache-from "$LATEST_IMAGE" -t "$IMAGE_NAME" .
else
echo "Install docker: https://docs.docker.com/engine/installation/"
exit 1