Skip to content
Snippets Groups Projects
Commit 2b5f14d1 authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-205: Recv-sim container use image build outside this repository

parent c5b96f82
No related branches found
No related tags found
1 merge request!183Docker image building & pushing with CI pipeline caching
DOCKER_REGISTRY_HOST=artefact.skao.int DOCKER_REGISTRY_HOST=artefact.skao.int
DOCKER_REGISTRY_USER=ska-tango-images DOCKER_REGISTRY_USER=ska-tango-images
LOCAL_DOCKER_REGISTRY_HOST=git.astron.nl:5000 LOCAL_DOCKER_REGISTRY_HOST=git.astron.nl:5000
LOCAL_DOCKER_REGISTRY_LOFAR=lofar2.0
LOCAL_DOCKER_REGISTRY_USER=lofar2.0/tango LOCAL_DOCKER_REGISTRY_USER=lofar2.0/tango
TANGO_ARCHIVER_VERSION=2021-05-28 TANGO_ARCHIVER_VERSION=2021-05-28
......
FROM ubuntu:20.04 ARG LOCAL_DOCKER_REGISTRY_HOST
ARG LOCAL_DOCKER_REGISTRY_LOFAR
COPY requirements.txt /requirements.txt FROM ${LOCAL_DOCKER_REGISTRY_HOST}/${LOCAL_DOCKER_REGISTRY_LOFAR}/pypcc:latest
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"] CMD ["python3", "pypcc2.py", "--simulator", "--port","4843"]
opcua
numpy
recordclass>=0.16,<0.16.1
\ No newline at end of file
...@@ -10,6 +10,9 @@ services: ...@@ -10,6 +10,9 @@ services:
recv-sim: recv-sim:
build: build:
context: pypcc-sim-base context: pypcc-sim-base
args:
- LOCAL_DOCKER_REGISTRY_HOST=${LOCAL_DOCKER_REGISTRY_HOST}
- LOCAL_DOCKER_REGISTRY_THIRD_PARTY=${LOCAL_DOCKER_REGISTRY_THIRD_PARTY}
container_name: ${CONTAINER_NAME_PREFIX}recv-sim container_name: ${CONTAINER_NAME_PREFIX}recv-sim
networks: networks:
- control - control
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment