We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d110e commit c079d82Copy full SHA for c079d82
scripts/docker/build.sh
@@ -163,6 +163,9 @@ export_docker_tag
163
164
BUILD_NETWORK="--network=host"
165
166
+# Prune old docker images (24 hours)
167
+docker system prune --all --filter until=24h
168
+
169
# If DOCKER_CONTEXT is not specified, assume none and just pipe the dockerfile into docker build
170
if [[ -z "${DOCKER_CONTEXT}" ]]; then
171
cat $DOCKERFILE_PATH | docker build $NO_CACHE $BUILD_NETWORK $CACHE $NETWORK $IMAGE $DEB_CODENAME $DEB_RELEASE $DEB_VERSION $DOCKER_DEB_SUFFIX $DEB_REPO $BRANCH $REPO -t "$TAG" -
0 commit comments