diff --git a/docker-compose/pypcc-sim/Dockerfile b/docker-compose/pypcc-sim/Dockerfile index 4040339b1dc98ebe8e02b51c6b3b75aab55bb3d4..bf3e34d6a5a7c4660aebb4e0006e8fc73ec5665a 100644 --- a/docker-compose/pypcc-sim/Dockerfile +++ b/docker-compose/pypcc-sim/Dockerfile @@ -1,7 +1,9 @@ FROM ubuntu:20.04 +COPY requirements.txt /requirements.txt + RUN apt-get update && apt-get install -y python3 python3-pip python3-yaml git && \ - pip3 install opcua numpy recordclass && \ + pip3 install -r requirements.txt && \ git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/pypcc WORKDIR /pypcc diff --git a/docker-compose/pypcc-sim/requirements.txt b/docker-compose/pypcc-sim/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..2cd015945c044fcd1e39a823f49a807fc519ac67 --- /dev/null +++ b/docker-compose/pypcc-sim/requirements.txt @@ -0,0 +1,3 @@ +opcua +numpy +recordclass>=0.16,<0.16.1 \ No newline at end of file