aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn-test
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-18 22:19:09 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-18 22:25:10 +0200
commit41dee9fb74575ae9504c8c4b2fa77158d68e9bbf (patch)
tree1d069b2be540519a5042c843ea5a6ee4d9bf715d /ggsn-test
parent64fc38f55dca75e78d64072c57f6bc2ac4e304a4 (diff)
Add dockerfile for building the ggsn-test from osmo-ttcn3c-hacks.git
Diffstat (limited to 'ggsn-test')
-rw-r--r--ggsn-test/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/ggsn-test/Dockerfile b/ggsn-test/Dockerfile
new file mode 100644
index 0000000..fa886b0
--- /dev/null
+++ b/ggsn-test/Dockerfile
@@ -0,0 +1,12 @@
+FROM debian-stretch-titan
+
+RUN git clone git://git.osmocom.org/osmo-ttcn3-hacks.git && \
+ mkdir /root/projects && (cd /root/projects && ln -sf / git) && \
+ cd osmo-ttcn3-hacks/ggsn_tests && \
+ ./gen_links.sh && \
+ ./regen_makefile.sh && \
+ make compile && \
+ make -j8
+
+CMD cd osmo-ttcn3-hacks/ggsn_tests && \
+ ttcn3_start ./GGSN_Tests ./GGSN_Tests.cfg && ttcn3_logmerge *.log