From 1de42da37c09653ff918b48bafebf7a8ed3eacf7 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 30 Mar 2021 09:23:37 +0200
Subject: [PATCH] Pypcc-sim image runs as root still by default, and without
 sudo installed, so shouldnt use sudo.

---
 docker-compose/pypcc-sim/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker-compose/pypcc-sim/Dockerfile b/docker-compose/pypcc-sim/Dockerfile
index ce7867150..4040339b1 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
-- 
GitLab