diff --git a/docker/Dockerfile b/docker/Dockerfile
index 7c0b521d372d28fb7d1b007bd0102d9b31ac6a07..f32d6c6127ef1b1289ca7a1d110ca4f85338bfea 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -46,7 +46,7 @@ RUN pip install --upgrade pip && pip install numpy==1.14.0 \
 # copy ost release
 WORKDIR /opt/ost
 
-RUN git clone https://git.scicore.unibas.ch/schwede/openstructure.git /opt/ost
+RUN git clone https://git.scicore.unibas.ch/schwede/openstructure.git /opt/ost && git checkout -b develop origin/develop
 
 # compile ost
 RUN cmake . -DPYTHON_LIBRARIES=/usr/lib/x86_64-linux-gnu/libpython2.7.so \