aboutsummaryrefslogtreecommitdiffstats
path: root/mgw-test/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'mgw-test/Dockerfile')
-rw-r--r--mgw-test/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mgw-test/Dockerfile b/mgw-test/Dockerfile
index 4015d99..2603ee6 100644
--- a/mgw-test/Dockerfile
+++ b/mgw-test/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 mgw
VOLUME /data