diff --git a/Docker/lofar-ci/Dockerfile_ci_mac b/Docker/lofar-ci/Dockerfile_ci_mac
index 767b3a4c3bf5144a7de7a60240b2a974ff76e194..367340fda600ac42a6529cf893a2d63af72ce36b 100644
--- a/Docker/lofar-ci/Dockerfile_ci_mac
+++ b/Docker/lofar-ci/Dockerfile_ci_mac
@@ -33,7 +33,7 @@ USER lofarsys
 
 RUN echo "Installing Casacore..." && \
     mkdir -p /opt/3rdparty_sources/ && cd /opt/3rdparty_sources/ && \
-    git clone --branch v3.2.0 https://github.com/casacore/casacore.git casacore && \
+    git clone --branch v2.1.0 https://github.com/casacore/casacore.git casacore && \
     mkdir casacore/build/ && cd casacore/build/ && \
     cmake -DCMAKE_INSTALL_PREFIX=/opt/casacore -DBUILD_PYTHON3=ON -DBUILD_PYTHON=OFF -DPYTHON_EXECUTABLE=/usr/bin/python3 -DUSE_OPENMP=ON -DUSE_FFTW3=TRUE -DUSE_HDF5=ON -DCMAKE_BUILD_TYPE=Release .. && \
     make -j 8 && \
@@ -43,7 +43,7 @@ RUN echo "Installing Blitz++" && \
     mkdir -p /opt/3rdparty_sources/ && cd /opt/3rdparty_sources/ && \
     git clone --depth 1 https://github.com/blitzpp/blitz.git blitz && \
     cd blitz && mkdir -p build && cd build && \
-    cmake3 -DCMAKE_INSTALL_PREFIX=/opt/blitz/ .. && \
+    cmake3 -DCMAKE_INSTALL_PREFIX=/opt/blitz/ -DBUILD_SHARED_LIBS=OFF .. && \
     make -j 8 lib && \
     make install