docker-playground/ttcn3-gbproxy-test/Dockerfile

18 lines
498 B
Docker

ARG USER
FROM $USER/debian-stretch-titan
ARG OSMO_TTCN3_BRANCH="master"
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" gbproxy
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-dumpcap-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-dumpcap-stop.sh /
COPY GBProxy_Tests.cfg /data/GBProxy_Tests.cfg
COPY pipework /usr/bin/pipework
COPY docker-entrypoint.sh /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]