2017-08-20 21:38:09 +00:00
|
|
|
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
|
|
|
|
|
2017-12-17 12:20:05 +00:00
|
|
|
RUN cd osmo-ttcn3-hacks && \
|
|
|
|
git checkout -f -B master origin/master && \
|
|
|
|
make deps
|
|
|
|
|
2018-02-14 20:57:39 +00:00
|
|
|
ARG OSMO_TTCN3_BRANCH="master"
|
|
|
|
|
|
|
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
|
2017-12-13 09:16:38 +00:00
|
|
|
RUN cd osmo-ttcn3-hacks && \
|
2017-12-17 12:20:05 +00:00
|
|
|
git fetch && \
|
2018-02-14 20:57:39 +00:00
|
|
|
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
|
2017-12-13 09:16:38 +00:00
|
|
|
make sysinfo
|
2017-08-20 21:38:09 +00:00
|
|
|
|
|
|
|
VOLUME /data
|
|
|
|
|
|
|
|
COPY Test.cfg /data/Test.cfg
|
|
|
|
|
|
|
|
CMD cd /data && \
|
|
|
|
/osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/sysinfo/Test && \
|
2018-03-18 13:19:34 +00:00
|
|
|
/osmo-ttcn3-hacks/log_merge.sh Test
|