diff --git a/docker/Dockerfile b/docker/Dockerfile
index bec0cfb200dbb3edfa5e403a67b7cc087d80542c..6040a61c186154f753b051f0241034e4804d8224 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -184,8 +184,9 @@ RUN apt-get update -y && \
                           wget git  python3-nose python3-coverage \
                           python3-astropy
 
-RUN A=$CW; git clone https://git.astron.nl/ao/sdco/pyautoplot.git ${INSTALLDIR}/pyautoplot && \
+RUN A=$CX; git clone https://git.astron.nl/ao/sdco/pyautoplot.git ${INSTALLDIR}/pyautoplot && \
     cd ${INSTALLDIR}/pyautoplot && \
+    git checkout tmss && \
     python3 setup.py install