From c469d34c3bb18a8992942e62882f69a8d243c1cd Mon Sep 17 00:00:00 2001 From: Kay Graf <kay.graf@fau.de> Date: Fri, 22 Feb 2019 18:11:49 +0100 Subject: [PATCH] add singularity test for DAQ context --- base/daq-singularity | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 base/daq-singularity diff --git a/base/daq-singularity b/base/daq-singularity new file mode 100644 index 0000000..27d38ec --- /dev/null +++ b/base/daq-singularity @@ -0,0 +1,16 @@ +FROM centos:7.4.1708 + MAINTAINER Kay Graf <kay.graf@km3net.de> +#Install Singularity as described on https://github.com/sylabs/singularity/blob/master/INSTALL.md + RUN yum groupinstall -y 'Development Tools' && \ + yum install -y epel-release && \ + yum install -y golang openssl-devel libuuid-devel libseccomp-devel squashfs-tools + RUN yum -y update && yum install -y rpm-build wget + + RUN export VERSION=3.1.0 RC=-rc4 && \ + wget https://github.com/sylabs/singularity/releases/download/v${VERSION}${RC}/singularity-${VERSION}.tar.gz && \ + rpmbuild -tb singularity-${VERSION}.tar.gz && \ + rpm -ivh ~/rpmbuild/RPMS/x86_64/singularity-${VERSION}${RC}.el7.x86_64.rpm && \ + rm -rf ~/rpmbuild singularity-${VERSION}*.tar.gz + + RUN wget https://git.km3net.de/common/jpp/raw/master/Singularity?inline=false -O Singularity + RUN singularity build Jpp.sif Singularity -- GitLab