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
This commit is contained in:
parent
18569e9d2c
commit
58e97d1f0b
|
@ -2,8 +2,13 @@ FROM laforge/debian-stretch-titan
|
||||||
|
|
||||||
RUN git clone git://git.osmocom.org/osmo-ttcn3-hacks.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
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
|
||||||
RUN cd osmo-ttcn3-hacks && \
|
RUN cd osmo-ttcn3-hacks && \
|
||||||
|
git fetch && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B master origin/master && \
|
||||||
make ggsn_tests
|
make ggsn_tests
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,13 @@ FROM laforge/debian-stretch-titan
|
||||||
RUN mkdir /root/projects && (cd /root/projects && ln -sf / git)
|
RUN mkdir /root/projects && (cd /root/projects && ln -sf / git)
|
||||||
RUN git clone git://git.osmocom.org/osmo-ttcn3-hacks.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
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
|
||||||
RUN cd osmo-ttcn3-hacks && \
|
RUN cd osmo-ttcn3-hacks && \
|
||||||
|
git fetch && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B master origin/master && \
|
||||||
make mgw
|
make mgw
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,13 @@ FROM laforge/debian-stretch-titan
|
||||||
RUN mkdir /root/projects && (cd /root/projects && ln -sf / git)
|
RUN mkdir /root/projects && (cd /root/projects && ln -sf / git)
|
||||||
RUN git clone git://git.osmocom.org/osmo-ttcn3-hacks.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
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
|
||||||
RUN cd osmo-ttcn3-hacks && \
|
RUN cd osmo-ttcn3-hacks && \
|
||||||
|
git fetch && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B master origin/master && \
|
||||||
make sysinfo
|
make sysinfo
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue