diff --git a/docker-compose/pypcc-sim-base/Dockerfile b/docker-compose/pypcc-sim-base/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..c65c5b6f836e889f9b3c364ceace5f7b9b821628 --- /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 0000000000000000000000000000000000000000..2cd015945c044fcd1e39a823f49a807fc519ac67 --- /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