Skip to content
Snippets Groups Projects
Commit 5aabefd0 authored by alex's avatar alex
Browse files

Merge branch 'HBA_calibrator' of https://git.astron.nl/eosc/prefactor3-cwl into HBA_calibrator

Former-commit-id: 2073b944
Former-commit-id: a6beee2a
parents 9503ecc6 32c9df45
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,10 @@ USER root ...@@ -3,8 +3,10 @@ USER root
COPY prefactor/scripts/* /opt/lofar/scripts/ COPY prefactor/scripts/* /opt/lofar/scripts/
COPY prefactor/skymodels/* /data/skymodels/ COPY prefactor/skymodels/* /data/skymodels/
COPY prefactor/rfistrategies/* /data/rfistrategies/ COPY prefactor/rfistrategies/* /data/rfistrategies/
COPY prefactor/solutions/ /data/solutions/* COPY prefactor/solutions/* /data/solutions/
RUN apt update && apt install -y vim COPY lofar /lofar/src
RUN apt update && apt install -y vim
RUN pip3 install --upgrade pip && pip3 install --upgrade numpy scipy RUN pip3 install --upgrade pip && pip3 install --upgrade numpy scipy
RUN ln -sf /opt/lofar/scripts/* /usr/local/bin/ RUN ln -sf /opt/lofar/scripts/* /usr/local/bin/
......
...@@ -14,14 +14,14 @@ git_clone_or_pull () { ...@@ -14,14 +14,14 @@ git_clone_or_pull () {
} }
Prefactor_TAG=production Prefactor_TAG=production
LOFAR_TAG=LOFAR-Release-4_0_17
# FETCHES Prefactor # FETCHES Prefactor
git_clone_or_pull https://github.com/lofar-astron/prefactor.git ${Prefactor_TAG} prefactor git_clone_or_pull https://github.com/lofar-astron/prefactor.git ${Prefactor_TAG} prefactor
git_clone_or_pull https://git.astron.nl/ro/lofar.git ${LOFAR_TAG} lofar
SCRIPT_PATH=$(realpath ${BASH_SOURCE[0]}) SCRIPT_PATH=$(realpath ${BASH_SOURCE[0]})
DOCKER_PATH=$(dirname ${SCRIPT_PATH}) DOCKER_PATH=$(dirname ${SCRIPT_PATH})
docker build ${DOCKER_PATH} -t lofareosc/prefactor docker build ${DOCKER_PATH} -t lofareosc/prefactor
docker build ${DOCKER_PATH} -f ${DOCKER_PATH}/Dockerfile_ci -t lofareosc/prefactor-ci docker build ${DOCKER_PATH} -f ${DOCKER_PATH}/Dockerfile_ci -t lofareosc/prefactor-ci
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment