From c5033197dfb1b0e4559aa9948e037c2fbaeb1385 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Mon, 11 Oct 2021 15:00:24 +0200 Subject: [PATCH] L2SS-358: Added simulator base files. --- docker-compose/pypcc-sim-base/Dockerfile | 10 ++++++++++ docker-compose/pypcc-sim-base/requirements.txt | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 docker-compose/pypcc-sim-base/Dockerfile create mode 100644 docker-compose/pypcc-sim-base/requirements.txt diff --git a/docker-compose/pypcc-sim-base/Dockerfile b/docker-compose/pypcc-sim-base/Dockerfile new file mode 100644 index 000000000..c65c5b6f8 --- /dev/null +++ b/docker-compose/pypcc-sim-base/Dockerfile @@ -0,0 +1,10 @@ +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 -r requirements.txt && \ + git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/pypcc + +WORKDIR /pypcc +CMD ["python3","pypcc2.py","--simulator","--port","4843"] diff --git a/docker-compose/pypcc-sim-base/requirements.txt b/docker-compose/pypcc-sim-base/requirements.txt new file mode 100644 index 000000000..2cd015945 --- /dev/null +++ b/docker-compose/pypcc-sim-base/requirements.txt @@ -0,0 +1,3 @@ +opcua +numpy +recordclass>=0.16,<0.16.1 \ No newline at end of file -- GitLab