summaryrefslogtreecommitdiff
path: root/contrib/build-using-docker/Dockerfile
diff options
context:
space:
mode:
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 \