summaryrefslogtreecommitdiff
path: root/bin/docker-build
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-09-11 14:56:44 -0600
committermo khan <mo.khan@gmail.com>2020-09-13 20:34:12 -0600
commitc26054b680ef91f2b012c8e44f4a4237c830a039 (patch)
tree8083deed0180cfb5b395db0b43872287c0243f93 /bin/docker-build
parent584d83b75385535017158ba65b5b97a9cfcad2b2 (diff)
fix: remove problematic packages
* chore: remove intermediate containers * fix: Update rack to 2.2.3 * fix: import nodejs keyring after plugin update * fix: install dev packages for C based tools * fix: remove unnecessary packages and cleanup
Diffstat (limited to 'bin/docker-build')
-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