From 61fed0ad3959b0b5d841bad9d99217a20cb9ffaa Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 10 Feb 2021 14:14:55 +0100 Subject: 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 --- ttcn3-bsc-test/Dockerfile | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'ttcn3-bsc-test') 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 -- cgit v1.2.3