aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-nitb-sysinfo/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ttcn3-nitb-sysinfo/Dockerfile')
-rw-r--r--ttcn3-nitb-sysinfo/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/ttcn3-nitb-sysinfo/Dockerfile b/ttcn3-nitb-sysinfo/Dockerfile
index b7921ac..89be2e0 100644
--- a/ttcn3-nitb-sysinfo/Dockerfile
+++ b/ttcn3-nitb-sysinfo/Dockerfile
@@ -7,10 +7,12 @@ RUN cd osmo-ttcn3-hacks && \
git checkout -f -B master origin/master && \
make deps
-ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
+ARG OSMO_TTCN3_BRANCH="master"
+
+ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
RUN cd osmo-ttcn3-hacks && \
git fetch && \
- git checkout -f -B master origin/master && \
+ git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
make sysinfo
VOLUME /data