summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap/config.py b/bootstrap/config.py
index a658fdda223..d78ee02ec30 100644
--- a/bootstrap/config.py
+++ b/bootstrap/config.py
@@ -267,6 +267,10 @@ fi
DOCKERFILE = r"""
FROM {docker_image}
+# pass in with --build-arg while build
+ARG SHA1SUM
+RUN [ -n $SHA1SUM ] && echo $SHA1SUM > /sha1sum.txt
+
ADD *.sh /tmp/
# need root permission, do it before USER samba
RUN /tmp/bootstrap.sh && /tmp/locale.sh