diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-12-17 12:20:05 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-12-17 12:20:05 +0000 |
commit | 58e97d1f0b68eaf57a19fb852846763a53b0d19e (patch) | |
tree | 5c41e4cd2a0685429ffc84630d03d363fc853e63 /ttcn3-nitb-sysinfo | |
parent | 18569e9d2c829b13af750d66756418f2eb42f590 (diff) |
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
Diffstat (limited to 'ttcn3-nitb-sysinfo')
-rw-r--r-- | ttcn3-nitb-sysinfo/Dockerfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ttcn3-nitb-sysinfo/Dockerfile b/ttcn3-nitb-sysinfo/Dockerfile index 7ffaa26..b7921ac 100644 --- a/ttcn3-nitb-sysinfo/Dockerfile +++ b/ttcn3-nitb-sysinfo/Dockerfile @@ -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 |