diff --git a/docker-compose/pypcc-sim/Dockerfile b/docker-compose/pypcc-sim/Dockerfile
index ce78671500d0ce6e49ecacefd57062e0e7d02b75..4040339b1dc98ebe8e02b51c6b3b75aab55bb3d4 100644
--- a/docker-compose/pypcc-sim/Dockerfile
+++ b/docker-compose/pypcc-sim/Dockerfile
@@ -1,7 +1,7 @@
 FROM ubuntu:20.04
 
-RUN sudo apt-get update && sudo apt-get install -y python3 python3-pip python3-yaml git && \
-    sudo pip3 install opcua numpy recordclass && \
+RUN apt-get update && apt-get install -y python3 python3-pip python3-yaml git && \
+    pip3 install opcua numpy recordclass && \
     git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/pypcc
 
 WORKDIR /pypcc