From 92b7659d163c226db023980d40fc7ad653fc9b89 Mon Sep 17 00:00:00 2001 From: lukken <lukken@astron.nl> Date: Tue, 7 Sep 2021 07:42:52 +0000 Subject: [PATCH] L2SS-365: Pin recordclass package for pypcc-sim image --- docker-compose/pypcc-sim/Dockerfile | 4 +++- docker-compose/pypcc-sim/requirements.txt | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 docker-compose/pypcc-sim/requirements.txt diff --git a/docker-compose/pypcc-sim/Dockerfile b/docker-compose/pypcc-sim/Dockerfile index 4040339b1..bf3e34d6a 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 000000000..2cd015945 --- /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 -- GitLab