Skip to content
Snippets Groups Projects
Commit 6a4e4028 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Added first test for the ddf2 container.

parent 926cfbb5
No related branches found
No related tags found
No related merge requests found
FROM lofarit/base3.10
#------------------------
# Get and install ddf2
#------------------------
USER root
# DDF pipeline
RUN cd /opt && git clone https://github.com/mhardcastle/ddf-pipeline.git
RUN cd /opt/ddf-pipeline && git checkout fdaa5aa
# SkyModel
RUN cd /opt && git clone https://github.com/cyriltasse/SkyModel.git
RUN cd /opt/SkyModel && git checkout 026997f
# killMS
RUN cd /opt && git clone https://github.com/saopicc/killMS.git
RUN cd /opt/killMS && git checkout b9e6ab6 #lofar-stable branch latest commit @ 24 Apr 2020
RUN cd /opt/killMS/Predict && make
RUN cd /opt/killMS/Array/Dot && make
RUN cd /opt/killMS/Gridder && make
# DynSpecMS
RUN cd /opt && git clone https://github.com/cyriltasse/DynSpecMS.git
RUN cd /opt/DynSpecMS && git checkout 461183f
# DDFacet
COPY DDFacet /opt/DDFacet
RUN cp /opt/ddf-pipeline/misc/setup.cfg /opt/DDFacet/ # Fix compile options
RUN cd /opt/DDFacet && python setup.py build
RUN sed -e "s|INSTALLDIR|/opt|" /opt/ddf-pipeline/misc/DDF.sh > /opt/DDFacet/init.sh
USER lofar
ENV CONTAINER_NAME='ddf2_base3.10'
#!/bin/bash
set -e
rm -rf DDFacet
git clone https://github.com/cyriltasse/DDFacet.git
# git checkout {version hash}
docker build . -t lofarit/ddf2_base3.10
#!/bin/bash
docker run --rm -v $PWD/data:/data -it lofarit/ddf2_base3.10 /bin/bash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment