diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-08-19 21:09:49 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-08-19 21:09:49 +0200 |
commit | 32f8b870cdf11d81aced18e03c0a785b60c18847 (patch) | |
tree | 96546f1a95e82412a762866eb2bda0bb8a9f1611 /m3ua-test | |
parent | 58343d6c875feee95fd66567c59fda1bf62107a8 (diff) |
Ensure docker cache fails if git repositories change
Diffstat (limited to 'm3ua-test')
-rw-r--r-- | m3ua-test/Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/m3ua-test/Dockerfile b/m3ua-test/Dockerfile index cc2a947..2696499 100644 --- a/m3ua-test/Dockerfile +++ b/m3ua-test/Dockerfile @@ -2,8 +2,10 @@ FROM sigtran-tests MAINTAINER Harald Welte <laforge@gnumonks.org> -RUN cd /tmp && git clone https://github.com/nplab/m3ua-testtool && \ - cd m3ua-testtool && \ +RUN cd /tmp && git clone https://github.com/nplab/m3ua-testtool +ADD http://git.osmocom.org/nplab/m3ua-testtool/commit /tmp/commit +RUN cd /tmp/m3ua-testtool && \ + git pull && \ cc -o runm3uatest runm3uatest.c && \ cp runm3uatest /usr/local/bin/ |