2020-10-14 17:20:41 +00:00
|
|
|
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 cd osmo-ttcn3-hacks && \
|
|
|
|
git fetch && \
|
|
|
|
git checkout $OSMO_TTCN3_BRANCH && \
|
|
|
|
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_TTCN3_BRANCH || exit 1); \
|
|
|
|
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
|
|
|
|
make gbproxy
|
|
|
|
|
|
|
|
VOLUME /data
|
|
|
|
|
2020-12-11 14:43:57 +00:00
|
|
|
RUN ln -s /osmo-ttcn3-hacks/ttcn3-dumpcap-start.sh / && \
|
|
|
|
ln -s /osmo-ttcn3-hacks/ttcn3-dumpcap-stop.sh /
|
2020-10-14 17:20:41 +00:00
|
|
|
|
|
|
|
COPY GBProxy_Tests.cfg /data/GBProxy_Tests.cfg
|
2020-11-30 12:56:50 +00:00
|
|
|
COPY pipework /usr/bin/pipework
|
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
2020-10-14 17:20:41 +00:00
|
|
|
|
2020-11-30 12:56:50 +00:00
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|