summaryrefslogtreecommitdiff
path: root/contrib/build-using-docker/Dockerfile
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2022-08-23 23:08:07 +0200
committerAndreas Fankhauser hiddenalpha.ch2022-08-23 23:08:07 +0200
commit52c746215e39127719bbb4aa3aef7185185a264a (patch)
treea1453cf5947fcd84ddd9da4d57612f5890ab7ed3 /contrib/build-using-docker/Dockerfile
parented9d8f294b7d655886dc372d31c2479a7b527482 (diff)
parent33940d2cde706cf6b061a0920e7b936d41edb0de (diff)
downloadbulk-ln-52c746215e39127719bbb4aa3aef7185185a264a.zip
bulk-ln-52c746215e39127719bbb4aa3aef7185185a264a.tar.gz
Merge 'Cleanup' to master
Diffstat (limited to 'contrib/build-using-docker/Dockerfile')
-rw-r--r--contrib/build-using-docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/build-using-docker/Dockerfile b/contrib/build-using-docker/Dockerfile
index c56cacd..00c1132 100644
--- a/contrib/build-using-docker/Dockerfile
+++ b/contrib/build-using-docker/Dockerfile
@@ -2,7 +2,7 @@
ARG PARENT_IMAGE=alpine:3.16.0
FROM $PARENT_IMAGE
-ARG GIT_TAG=
+ARG GIT_TAG=master
ARG CONFIGURE_OPTS=
ARG PKGINIT=true
ARG PKGADD="apk add"
@@ -16,7 +16,7 @@ WORKDIR /work
RUN true \
&& $PKGINIT \
&& $PKGADD $PKGS_TO_ADD \
- && git clone --depth 1 https://github.com/hiddenalpha/bulk-ln.git . \
+ && git clone --depth 42 --branch "${GIT_TAG:?}" https://github.com/hiddenalpha/bulk-ln.git . \
&& git config advice.detachedHead false \
&& if test -n "$GIT_TAG"; then git checkout "$GIT_TAG"; fi \
&& ./configure $CONFIGURE_OPTS \