diff --git a/containers/docker/Dockerfile b/containers/docker/Dockerfile
index 57303adb0e745ed02a39283286fa3610016d976f..74c487a84f08540fc8289186d7033e6f8ffd2603 100644
--- a/containers/docker/Dockerfile
+++ b/containers/docker/Dockerfile
@@ -27,7 +27,7 @@ RUN cd /tmp \
       && cd /tmp && rm -rf /tmp/HepMC3
 
 RUN cd /tmp \
-      && sudo apt-get update && sudo apt-get install -y rsync \
+      && apt-get update && sudo apt-get install -y rsync \
       && wget http://home.thep.lu.se/~torbjorn/pythia8/pythia8244.tgz \
       && tar -zxf pythia8244.tgz && cd pythia8244 \
       && ./configure --prefix=/usr/local --enable-shared --enable-64bit --with-root --with-hepmc3 \