osmo-ggsn-mater: Add missing 'git checkout'

When rebuilding the docker image, it's important to not only git
checkout but also to git fetch before, otherwise we won't build
new code ;)
This commit is contained in:
Harald Welte 2017-09-05 20:00:45 +02:00
parent e21fe3a4fe
commit dcf652ccbe
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ WORKDIR /tmp
RUN git clone git://git.osmocom.org/openggsn.git
ADD http://git.osmocom.org/openggsn/patch/?h=laforge/osmo-ggsn /tmp/commit
RUN cd openggsn && \
git checkout -f laforge/osmo-ggsn && \
git fetch && git checkout -f -B laforge/osmo-ggsn origin/laforge/osmo-ggsn && \
autoreconf -fi && \
./configure && \
make -j8 install && \