diff --git a/docker/Dockerfile b/docker/Dockerfile
index ef6b0f0d8a5bae5cdff117a541501af29d16bc33..51c343409e4815a846124bc4b6a940be1d9f648d 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -184,7 +184,7 @@ RUN apt-get update -y && \
                           wget git  python3-nose python3-coverage \
                           python3-astropy
 
-RUN A=$CX; git clone https://git.astron.nl/ao/sdco/pyautoplot.git ${INSTALLDIR}/pyautoplot && \
+RUN A=$CY; git clone https://git.astron.nl/ao/sdco/pyautoplot.git ${INSTALLDIR}/pyautoplot && \
     cd ${INSTALLDIR}/pyautoplot && \
     git checkout master && \
     python3 setup.py install