From 41dee9fb74575ae9504c8c4b2fa77158d68e9bbf Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 18 Aug 2017 22:19:09 +0200 Subject: [PATCH] Add dockerfile for building the ggsn-test from osmo-ttcn3c-hacks.git --- ggsn-test/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ggsn-test/Dockerfile diff --git a/ggsn-test/Dockerfile b/ggsn-test/Dockerfile new file mode 100644 index 00000000..fa886b0c --- /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