diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-02-10 14:14:55 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-02-11 15:45:40 +0100 |
commit | 61fed0ad3959b0b5d841bad9d99217a20cb9ffaa (patch) | |
tree | e858d32f84144ff87a3009456dced95c65bb3350 /ttcn3-bsc-test | |
parent | db3f98113cbdeb0110ca0b9ba01cd12d66d97e34 (diff) |
ttcn3: move initial clone to debian-stretch-titan
Clone the osmo-ttcn3-hacks and all dependency repositories less often by
moving related commands to the shared debian-stretch-titan image.
Remove the 'git checkout -f -B master origin/master' line, because the
master branch is checked out by default.
While at it, move the shared "git config" commands too, and move them
before cloning the repositories, so they don't run again whenever the
deps change (logic to invalidate the cache if deps change will be added
in the next patch).
Related: OS#5017
Change-Id: I2bb142dce061eba4b6a828c4e435510e309989fd
Diffstat (limited to 'ttcn3-bsc-test')
-rw-r--r-- | ttcn3-bsc-test/Dockerfile | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ttcn3-bsc-test/Dockerfile b/ttcn3-bsc-test/Dockerfile index 8bdf87f..c26247d 100644 --- a/ttcn3-bsc-test/Dockerfile +++ b/ttcn3-bsc-test/Dockerfile @@ -1,15 +1,5 @@ ARG USER FROM $USER/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 - -RUN git config --global user.email docker@dock.er && \ - git config --global user.name "Dock Er" - ARG OSMO_TTCN3_BRANCH="master" ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit |