diff --git a/containers/Dockerfile-test-suite-python27 b/containers/Dockerfile-test-suite-python27 index 7a41728773436693d30ed15a2786df21ee71051e..d886488d2d8c2cfa658f435270b302ced817ade7 100644 --- a/containers/Dockerfile-test-suite-python27 +++ b/containers/Dockerfile-test-suite-python27 @@ -20,7 +20,7 @@ echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \ echo "conda activate base" >> ~/.bashrc # Install conda-installable programs -RUN conda install -y numpy>=1.9 scipy>=0.16 matplotlib>=2.0 pandas +RUN conda install -y numpy scipy matplotlib pandas RUN conda install -c conda-forge deepdish @@ -60,3 +60,12 @@ RUN git clone https://github.com/PolyChord/PolyChordLite.git \ # Install PTMCMCSampler RUN git clone https://github.com/jellis18/PTMCMCSampler.git \ && (cd PTMCMCSampler && python setup.py install) + +# Add the ROQ data to the image +RUN mkdir roq_basis \ + && cd roq_basis \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/B_linear.npy \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/B_quadratic.npy \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/fnodes_linear.npy \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/fnodes_quadratic.npy \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/params.dat \ diff --git a/containers/Dockerfile-test-suite-python37 b/containers/Dockerfile-test-suite-python37 index 763927fe448fdac7fa7d7acc0f651f14452ef7a4..753120cf6d11fce4958083537addba3b66927146 100644 --- a/containers/Dockerfile-test-suite-python37 +++ b/containers/Dockerfile-test-suite-python37 @@ -21,7 +21,7 @@ echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \ echo "conda activate base" >> ~/.bashrc # Install conda-installable programs -RUN conda install -y numpy>=1.9 scipy>=0.16 matplotlib>=2.0 pandas +RUN conda install -y numpy scipy matplotlib pandas RUN conda install -c conda-forge deepdish @@ -64,3 +64,12 @@ RUN git clone https://github.com/PolyChord/PolyChordLite.git \ # Install PTMCMCSampler RUN git clone https://github.com/jellis18/PTMCMCSampler.git \ && (cd PTMCMCSampler && python setup.py install) + +# Add the ROQ data to the image +RUN mkdir roq_basis \ + && cd roq_basis \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/B_linear.npy \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/B_quadratic.npy \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/fnodes_linear.npy \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/fnodes_quadratic.npy \ + && wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/params.dat \