summaryrefslogtreecommitdiffstats
path: root/build/docker-entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/docker-entrypoint.sh')
-rwxr-xr-xbuild/docker-entrypoint.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/docker-entrypoint.sh b/build/docker-entrypoint.sh
index 965037e0..b597dab4 100755
--- a/build/docker-entrypoint.sh
+++ b/build/docker-entrypoint.sh
@@ -107,6 +107,9 @@ then
PCKG_LIST_DIR="/tmp/additional-lists/"
fi
+# Clean target repo dir for idempotency
+rm -rf ${OFFLINE_REPO_DIR}/*
+
case "$distro_type" in
ubuntu)
# Change current working dir