From dde65a311cb822bf9b86109f4cb216cacd3dab08 Mon Sep 17 00:00:00 2001
From: Kay Graf <kay.graf@fau.de>
Date: Wed, 13 Feb 2019 14:53:12 +0100
Subject: [PATCH] add singularity container v3.1

---
 base/singularity:3.1 | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 base/singularity:3.1

diff --git a/base/singularity:3.1 b/base/singularity:3.1
new file mode 100644
index 0000000..67a879d
--- /dev/null
+++ b/base/singularity:3.1
@@ -0,0 +1,12 @@
+ FROM centos:7.4.1708
+  MAINTAINER Kay Graf <kay.graf@km3net.de>
+ 
+  RUN yum install -y git subversion wget && yum clean -y all
+  RUN yum install -y ant bison flex-devel gcc gcc-c++ gcc-gfortran gdb make cmake glibc-static strace && yum clean -y all
+  RUN yum install -y doxygen && yum clean -y all
+
+  RUN yum groupinstall -y 'Development Tools' && yum install -y epel-release && yum install -y golang openssl-devel libuuid-devel libseccomp-devel squashfs-tools
+
+  RUN export GOPATH=${HOME}/go && export PATH=/usr/local/go/bin:${PATH}:${GOPATH}/bin
+  RUN mkdir -p ${GOPATH}/src/github.com/sylabs && cd ${GOPATH}/src/github.com/sylabs &&  git clone https://github.com/sylabs/singularity.git && cd singularity && git checkout v3.1.0-rc2
+  RUN cd ${GOPATH}/src/github.com/sylabs/singularity && ./mconfig && cd ./builddir && make && make install
\ No newline at end of file
-- 
GitLab