2017-12-17 14:04:51 +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
|
|
|
|
|
|
|
|
RUN cd osmo-ttcn3-hacks && \
|
|
|
|
git checkout -f -B master origin/master && \
|
|
|
|
make deps
|
|
|
|
|
|
|
|
RUN git config --global user.email docker@dock.er && \
|
|
|
|
git config --global user.name "Dock Er"
|
|
|
|
|
|
|
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
|
|
|
|
RUN cd osmo-ttcn3-hacks && \
|
2018-01-27 19:24:41 +00:00
|
|
|
git fetch && \
|
2017-12-17 14:04:51 +00:00
|
|
|
git checkout -f -B master origin/master && \
|
|
|
|
git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \
|
|
|
|
make bsc
|
|
|
|
|
|
|
|
VOLUME /data
|
|
|
|
|
2018-02-14 19:04:17 +00:00
|
|
|
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
|
|
|
|
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
|
|
|
|
|
2017-12-17 14:04:51 +00:00
|
|
|
COPY BSC_Tests.cfg /data/BSC_Tests.cfg
|
|
|
|
|
|
|
|
CMD cd /data && \
|
|
|
|
/osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/bsc/BSC_Tests && \
|
|
|
|
ttcn3_logmerge BSC*.log
|