docker-playground/ggsn-test/Dockerfile

17 lines
437 B
Docker

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
VOLUME /data
COPY GGSN_Tests.cfg /data/GGSN_Tests.cfg
CMD cd /data && \
ttcn3_start /osmo-ttcn3-hacks/ggsn_tests/GGSN_Tests ./GGSN_Tests.cfg && ttcn3_logmerge *.log