diff --git a/docker-compose/pypcc-sim/Dockerfile b/docker-compose/pypcc-sim/Dockerfile index 2f0471fd982fc85ed8a524f5b701dfd74b3d6961..4040339b1dc98ebe8e02b51c6b3b75aab55bb3d4 100644 --- a/docker-compose/pypcc-sim/Dockerfile +++ b/docker-compose/pypcc-sim/Dockerfile @@ -1,11 +1,8 @@ FROM ubuntu:20.04 -RUN apt-get update && apt-get install -y python3 python3-pip python3-yaml git - -RUN pip3 install opcua numpy recordclass - -RUN git clone https://git.astron.nl/lofar2.0/pypcc -RUN cd pypcc && touch pylibi2c.py +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 CMD ["python3","pypcc2.py","--simulator"]