docker-playground/ggsn-test/Dockerfile

21 lines
535 B
Docker

FROM laforge/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