-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSingularity.sl7kc
29 lines (22 loc) · 1.29 KB
/
Singularity.sl7kc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## Scientific Linux 7 Kitchen Sink version
BootStrap: yum
OSVersion: 7
MirrorURL: http://ftp.scientificlinux.org/linux/scientific/%{OSVERSION}x/$basearch/os/
#MirrorURL: https://mirror.bnl.gov/scientific/%{OSVERSION}x/$basearch/os/
Include: yum
%post
yum -y install bash curl wget gcc gcc-c++
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
yum repolist
yum -y install tar hostname redhat-lsb-core lbzip2 zlib-devel which git make cmake bison pkgconfig python emacs jq vim time openssl-devel python-pip python-hashlib ipython numpy python-matplotlib readline glibc-devel bzip2 python-devel jq libuuid libuuid-devel ccache distcc valgrind graphviz
yum -y install http://ftp.scientificlinux.org/linux/scientific/7x/contexts/fermilab/x86_64/yum-conf-context-fermilab-1.0-6.el7.noarch.rpm
sleep 2
yum -y upgrade
yum -y install fermilab-util_kx509 voms voms-clients-cpp globus-gss-assist globus-xio-gsi-driver globus-gsi-proxy-core globus-ftp-control uberftp yum-plugin-priorities myproxy-voms
rpm -Uvh https://repo.opensciencegrid.org/osg/3.4/osg-3.4-el7-release-latest.rpm
yum -y install osg-ca-certs vo-client
yum clean all
pip install --upgrade pip
pip install virtualenv
for n in ups src bin lib include opt share ; do mkdir -p /usr/local/$n ; done