diff --git a/ddf2/Dockerfile b/ddf2/Dockerfile index 2c9653452906e697708aeb90034c8e92cb68913b..8d7a5891eac9b623cd149427066c42c8b12bc63b 100644 --- a/ddf2/Dockerfile +++ b/ddf2/Dockerfile @@ -10,7 +10,7 @@ ENV PYTHONPATH /opt/lofarsoft/lib/python2.7/site-packages #------------------------ # DDF pipeline RUN cd /opt && git clone https://github.com/mhardcastle/ddf-pipeline.git -RUN cd /opt/ddf-pipeline && git checkout DR1 +RUN cd /opt/ddf-pipeline && git checkout fdaa5aa # SkyModel RUN cd /opt && git clone https://github.com/cyriltasse/SkyModel.git @@ -46,6 +46,7 @@ RUN sed 's/numpy (<=1.16)/numpy (<=1.16.2)/g' /usr/local/lib/python2.7/dist-pac RUN cd /opt && git clone https://www.ict.inaf.it/gitlab/lofarit/container-data.git +#USER lofar -ENV CONTAINER_NAME='ddf2_public_base3.10' +ENV CONTAINER_NAME='ddf2_base3.10' ENV DDF_PIPELINE_CATALOGS='/opt/container-data/bootstrap-cats/' diff --git a/ddf2/build_docker_container.sh b/ddf2/build_docker_container.sh index 71c18872c406e285e199fd0f079cec8a8982b786..7c8ffc5cfbd447e635c8846a42858f9ce09f95ef 100755 --- a/ddf2/build_docker_container.sh +++ b/ddf2/build_docker_container.sh @@ -1,4 +1,8 @@ #!/bin/bash set -e +rm -rf DDFacet -docker build . -t lofarit/ddf2_public_base3.10 +git clone https://github.com/cyriltasse/DDFacet.git +git checkout 1059028 + +docker build . -t lofarit/ddf2_base3.10 diff --git a/ddf2/run_docker_container.sh b/ddf2/run_docker_container.sh index b37247082cd4cc76801bddf290f7fad44e2f0be2..951d41383e189a4e2f4a95f068c61958481b2ffe 100755 --- a/ddf2/run_docker_container.sh +++ b/ddf2/run_docker_container.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker run --rm -v $PWD/data:/data -it lofarit/ddf2_public_base3.10 /bin/bash +docker run --rm -v $PWD/data:/data -it lofarit/ddf2_base3.10 /bin/bash