aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-msc-master/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'osmo-msc-master/Dockerfile')
-rw-r--r--osmo-msc-master/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/osmo-msc-master/Dockerfile b/osmo-msc-master/Dockerfile
index c8cfd62..21c7eda 100644
--- a/osmo-msc-master/Dockerfile
+++ b/osmo-msc-master/Dockerfile
@@ -37,7 +37,8 @@ RUN git clone git://git.osmocom.org/osmo-msc.git
ADD http://git.osmocom.org/osmo-msc/patch?h=$OSMO_MSC_BRANCH /tmp/commit-osmo-msc
RUN cd osmo-msc && \
- git fetch && git checkout -f -B $OSMO_MSC_BRANCH $OSMO_MSC_BRANCH && \
+ git fetch && git checkout $OSMO_MSC_BRANCH && \
+ (git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_MSC_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
./configure --enable-smpp --enable-iu && \