ttcn3 tests: split 'make deps' in separate RUN command

This avoids re-downlaoding all dependency repositories each time
osmo-ttcn3-hacks has received a change
changes/84/7384/1
Harald Welte 5 years ago
parent 18569e9d2c
commit 58e97d1f0b
  1. 5
      ggsn-test/Dockerfile
  2. 5
      mgw-test/Dockerfile
  3. 5
      ttcn3-nitb-sysinfo/Dockerfile

@ -2,8 +2,13 @@ FROM laforge/debian-stretch-titan
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
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
RUN cd osmo-ttcn3-hacks && \
git fetch && \
git checkout -f -B master origin/master && \
make ggsn_tests

@ -3,8 +3,13 @@ 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
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
RUN cd osmo-ttcn3-hacks && \
git fetch && \
git checkout -f -B master origin/master && \
make mgw

@ -3,8 +3,13 @@ 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
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
RUN cd osmo-ttcn3-hacks && \
git fetch && \
git checkout -f -B master origin/master && \
make sysinfo

Loading…
Cancel
Save