diff --git a/containers/Dockerfile-test-suite-python27 b/containers/Dockerfile-test-suite-python27
index c992cb073b02640d0ab1f82e3356544eddec9537..e1e08687a414029f9aeca9dc50b08b227c568b58 100644
--- a/containers/Dockerfile-test-suite-python27
+++ b/containers/Dockerfile-test-suite-python27
@@ -58,5 +58,5 @@ RUN git clone https://github.com/PolyChord/PolyChordLite.git \
 && (cd PolyChordLite && make pypolychord  MPI= && python setup.py install)
 
 # Install PTMCMCSampler
-RUN git clone https://github.com/jellis18/PTMCMCSampler.git
+RUN git clone https://github.com/jellis18/PTMCMCSampler.git \
 && (cd PTMCMCSampler && python setup.py install)
diff --git a/containers/Dockerfile-test-suite-python37 b/containers/Dockerfile-test-suite-python37
index 0a19df8e3032250299ed7079087fd631ff78d9c4..25ae9dd2e5bc3b517b49e770c831fa15d57a5cdf 100644
--- a/containers/Dockerfile-test-suite-python37
+++ b/containers/Dockerfile-test-suite-python37
@@ -62,5 +62,5 @@ RUN git clone https://github.com/PolyChord/PolyChordLite.git \
 && (cd PolyChordLite && make pypolychord  MPI= && python setup.py install)
 
 # Install PTMCMCSampler
-RUN git clone https://github.com/jellis18/PTMCMCSampler.git
+RUN git clone https://github.com/jellis18/PTMCMCSampler.git \
 && (cd PTMCMCSampler && python setup.py install)