From cb4fb318c81e1379b28264f7bc2d9932e19800d9 Mon Sep 17 00:00:00 2001
From: Colm Talbot <colm.talbot@ligo.org>
Date: Mon, 14 Mar 2022 14:30:12 +0000
Subject: [PATCH] Add some new packages to the test images

---
 containers/dockerfile-template               | 7 +++++--
 containers/v3-dockerfile-test-suite-python38 | 7 +++++--
 containers/v3-dockerfile-test-suite-python39 | 7 +++++--
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/containers/dockerfile-template b/containers/dockerfile-template
index 939ba29ca..4b09c953d 100644
--- a/containers/dockerfile-template
+++ b/containers/dockerfile-template
@@ -15,7 +15,7 @@ RUN python --version
 
 # Install conda-installable programs
 RUN conda install -n ${{conda_env}} -y matplotlib numpy scipy pandas astropy flake8
-RUN conda install -n ${{conda_env}} -c anaconda coverage configargparse future
+RUN conda install -n ${{conda_env}} -c anaconda coverage configargparse future dill
 RUN conda install -n ${{conda_env}} -c conda-forge black pytest-cov deepdish arviz
 
 # Install pip-requirements
@@ -25,6 +25,9 @@ RUN pip install --upgrade setuptools coverage-badge parameterized
 # Install documentation requirements
 RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc
 
+# Install testing requirements
+RUN conda install -n ${{conda_env}} -c conda-forge scikit-image celerite george
+
 # Install dependencies and samplers
 RUN pip install corner healpy cython tables
 RUN conda install -n ${{conda_env}} -c conda-forge dynesty emcee nestle ptemcee
@@ -52,7 +55,7 @@ RUN git clone https://github.com/jellis18/PTMCMCSampler.git \
 
 # Install GW packages
 RUN conda install -n ${{conda_env}} -c conda-forge python-lalsimulation
-RUN pip install ligo-gracedb gwpy ligo.skymap
+RUN pip install ligo-gracedb gwpy ligo.skymap bilby.cython
 
 # Add the ROQ data to the image
 RUN mkdir roq_basis \
diff --git a/containers/v3-dockerfile-test-suite-python38 b/containers/v3-dockerfile-test-suite-python38
index 080f1fd22..65e93c16e 100644
--- a/containers/v3-dockerfile-test-suite-python38
+++ b/containers/v3-dockerfile-test-suite-python38
@@ -17,7 +17,7 @@ RUN python --version
 
 # Install conda-installable programs
 RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8
-RUN conda install -n ${conda_env} -c anaconda coverage configargparse future
+RUN conda install -n ${conda_env} -c anaconda coverage configargparse future dill
 RUN conda install -n ${conda_env} -c conda-forge black pytest-cov deepdish arviz
 
 # Install pip-requirements
@@ -27,6 +27,9 @@ RUN pip install --upgrade setuptools coverage-badge parameterized
 # Install documentation requirements
 RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc
 
+# Install testing requirements
+RUN conda install -n ${conda_env} -c conda-forge scikit-image celerite george
+
 # Install dependencies and samplers
 RUN pip install corner healpy cython tables
 RUN conda install -n ${conda_env} -c conda-forge dynesty emcee nestle ptemcee
@@ -54,7 +57,7 @@ RUN git clone https://github.com/jellis18/PTMCMCSampler.git \
 
 # Install GW packages
 RUN conda install -n ${conda_env} -c conda-forge python-lalsimulation
-RUN pip install ligo-gracedb gwpy ligo.skymap
+RUN pip install ligo-gracedb gwpy ligo.skymap bilby.cython
 
 # Add the ROQ data to the image
 RUN mkdir roq_basis \
diff --git a/containers/v3-dockerfile-test-suite-python39 b/containers/v3-dockerfile-test-suite-python39
index 91b906ef8..7b4dbd849 100644
--- a/containers/v3-dockerfile-test-suite-python39
+++ b/containers/v3-dockerfile-test-suite-python39
@@ -17,7 +17,7 @@ RUN python --version
 
 # Install conda-installable programs
 RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8
-RUN conda install -n ${conda_env} -c anaconda coverage configargparse future
+RUN conda install -n ${conda_env} -c anaconda coverage configargparse future dill
 RUN conda install -n ${conda_env} -c conda-forge black pytest-cov deepdish arviz
 
 # Install pip-requirements
@@ -27,6 +27,9 @@ RUN pip install --upgrade setuptools coverage-badge parameterized
 # Install documentation requirements
 RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc
 
+# Install testing requirements
+RUN conda install -n ${conda_env} -c conda-forge scikit-image celerite george
+
 # Install dependencies and samplers
 RUN pip install corner healpy cython tables
 RUN conda install -n ${conda_env} -c conda-forge dynesty emcee nestle ptemcee
@@ -54,7 +57,7 @@ RUN git clone https://github.com/jellis18/PTMCMCSampler.git \
 
 # Install GW packages
 RUN conda install -n ${conda_env} -c conda-forge python-lalsimulation
-RUN pip install ligo-gracedb gwpy ligo.skymap
+RUN pip install ligo-gracedb gwpy ligo.skymap bilby.cython
 
 # Add the ROQ data to the image
 RUN mkdir roq_basis \
-- 
GitLab