aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn-test/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ggsn-test/Dockerfile')
-rw-r--r--ggsn-test/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/ggsn-test/Dockerfile b/ggsn-test/Dockerfile
index 412ba59..5a29922 100644
--- a/ggsn-test/Dockerfile
+++ b/ggsn-test/Dockerfile
@@ -6,10 +6,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 ggsn_tests
VOLUME /data