From 1233492bb44537e6f8e91129cabd59cad8485a63 Mon Sep 17 00:00:00 2001
From: Gregory Ashton <gregory.ashton@ligo.org>
Date: Wed, 30 Jan 2019 09:58:43 +1100
Subject: [PATCH] Adds new docker image and 0.3.5 singularity

---
 containers/Dockerfile-bilby  |  7 +++++++
 containers/Singularity.0.3.5 | 14 ++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 containers/Dockerfile-bilby
 create mode 100644 containers/Singularity.0.3.5

diff --git a/containers/Dockerfile-bilby b/containers/Dockerfile-bilby
new file mode 100644
index 000000000..45a53475d
--- /dev/null
+++ b/containers/Dockerfile-bilby
@@ -0,0 +1,7 @@
+FROM bilbydev/bilby-test-suite-python37
+
+LABEL name="bilby" \
+maintainer="Gregory Ashton <gregory.ashton@ligo.org>" \
+date="20190130"
+
+RUN pip install bilby
diff --git a/containers/Singularity.0.3.5 b/containers/Singularity.0.3.5
new file mode 100644
index 000000000..1894ce41b
--- /dev/null
+++ b/containers/Singularity.0.3.5
@@ -0,0 +1,14 @@
+Bootstrap: docker
+From: bilbydev/bilby-test-suite-python37
+
+%help
+A singularity container for running bilby scripts. To use, simply execute the
+container, providing the bilby_script and any additional arguments. E.g.,
+
+./name_of_this_container.simg run_script.py
+
+%post
+pip install bilby==0.3.5
+
+%runscript
+exec /opt/conda/bin/python "$@"
-- 
GitLab