Commit f0706320 authored by Fabio Roberto Vitello's avatar Fabio Roberto Vitello
Browse files

Update Dockerfile

Downgraded numpy to 1.16.2
parent dc091b54
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -32,17 +32,17 @@ COPY DDFacet /opt/DDFacet
RUN cp /opt/ddf-pipeline/misc/setup.cfg /opt/DDFacet/ # Fix compile options
RUN python -m pip install -U pip setuptools wheel
RUN pip install -U pip setuptools wheel
RUN python -m pip install numpy==1.16.6 bdsf==1.8.15 emcee
RUN python -m pip install numpy==1.16.2 bdsf==1.8.15 emcee

RUN python -m pip install pybind11 future pyregion sshtunnel pymysql psutil
RUN python -m pip install -U "/opt/DDFacet/[dft-support,moresane-support,testing-requirements,fits-beam-support]"

RUN cd /opt/DDFacet && rm -rf /opt/DDFacet/Dcbuild && python setup.py build

RUN python -m pip install bdsf==1.8.15 numpy==1.16.6
RUN python -m pip install bdsf==1.8.15 numpy==1.16.2
RUN sed -e "s|INSTALLDIR|/opt|" /opt/ddf-pipeline/misc/DDF.sh > /opt/DDFacet/init.sh

RUN  sed 's/numpy (<=1.16)/numpy (<=1.16.6)/g' /usr/local/lib/python2.7/dist-packages/meqtrees_cattery-1.7.0.dist-info/METADATA >  /usr/local/lib/python2.7/dist-packages/meqtrees_cattery-1.7.0.dist-info/METADATA
RUN  sed 's/numpy (<=1.16)/numpy (<=1.16.2)/g' /usr/local/lib/python2.7/dist-packages/meqtrees_cattery-1.7.0.dist-info/METADATA >  /usr/local/lib/python2.7/dist-packages/meqtrees_cattery-1.7.0.dist-info/METADATA

RUN cd /opt && git clone https://www.ict.inaf.it/gitlab/lofarit/container-data.git