diff options
Diffstat (limited to 'ttcn3-bts-test/Dockerfile')
-rw-r--r-- | ttcn3-bts-test/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ttcn3-bts-test/Dockerfile b/ttcn3-bts-test/Dockerfile index 387afb0..d8969bb 100644 --- a/ttcn3-bts-test/Dockerfile +++ b/ttcn3-bts-test/Dockerfile @@ -5,7 +5,7 @@ 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 master && \ + git checkout -f -B master origin/master && \ make deps RUN git config --global user.email docker@dock.er && \ @@ -16,7 +16,7 @@ ARG OSMO_TTCN3_BRANCH="master" ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit RUN cd osmo-ttcn3-hacks && \ git fetch && \ - git checkout -f $OSMO_TTCN3_BRANCH && \ + git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \ git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \ make deps-update bts |