aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn-test/Dockerfile
blob: 0b1f1083dde6ee8c49a9a8a10a19731fb732886e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM	debian-stretch-titan

RUN	mkdir /root/projects && (cd /root/projects && ln -sf / git)
RUN	git clone git://git.osmocom.org/osmo-ttcn3-hacks.git

ADD	http://git.osmocom.org/osmo-ttcn3-hacks/commit /tmp/commit
RUN	cd osmo-ttcn3-hacks/ggsn_tests && \
	git pull && \
	./gen_links.sh && \
	./regen_makefile.sh && \
	make compile && \
	make -j8

VOLUME	/data

COPY	GGSN_Tests.cfg /data/GGSN_Tests.cfg

CMD	cd /data && \
	/osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/ggsn_tests/GGSN_Tests && \
	ttcn3_logmerge GGSN*.log