-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
140 lines (132 loc) · 3.67 KB
/
Dockerfile
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
FROM centos:7
LABEL opensciencegrid.name="EL 7"
LABEL opensciencegrid.description="Enterprise Linux (CentOS) 7 base image"
LABEL opensciencegrid.url="https://www.centos.org/"
LABEL opensciencegrid.category="Base"
LABEL opensciencegrid.definition_url="https://github.com/opensciencegrid/osgvo-el7"
RUN yum -y upgrade && \
yum -y install epel-release yum-plugin-priorities && \
yum -y install http://repo.opensciencegrid.org/osg/3.6/osg-3.6-el7-release-latest.rpm && \
echo -e "# Pegasus\n[Pegasus]\nname=Pegasus\nbaseurl=http://download.pegasus.isi.edu/wms/download/rhel/7/\$basearch/\ngpgcheck=0\nenabled=1\npriority=50" >/etc/yum.repos.d/pegasus.repo && \
yum -y groups mark convert && \
yum -y grouplist &&\
yum -y groupinstall "Compatibility Libraries" \
"Development Tools" \
"Scientific Support" && \
yum -y install --enablerepo=osg-testing \
astropy-tools \
bc \
binutils \
binutils-devel \
cmake \
compat-glibc \
condor \
coreutils \
curl \
davix-devel \
dcap-devel \
doxygen \
dpm-devel \
fontconfig \
gcc \
gcc-c++ \
gcc-gfortran \
git \
glew-devel \
glib2-devel \
glib-devel \
globus-gass-copy-devel \
graphviz \
gsl-devel \
gtest-devel \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel \
jq \
json-c-devel \
lfc-devel \
libattr-devel \
libgfortran \
libGLU \
libgomp \
libicu \
libquadmath \
libssh2-devel \
libtool \
libtool-ltdl \
libtool-ltdl-devel \
libuuid-devel \
libX11-devel \
libXaw-devel \
libXext-devel \
libXft-devel \
libxml2 \
libxml2-devel \
libXm \
libXmu-devel \
libXpm \
libXpm-devel \
libXt \
mesa-libGL-devel \
motif \
motif-devel \
nano \
numpy \
octave \
octave-devel \
openldap-devel \
openssh \
openssh-server \
openssl098e \
osg-ca-certs \
osg-wn-client \
p7zip \
p7zip-plugins \
pegasus \
python3 \
python36-PyYAML \
python3-devel \
python3-pip \
python-astropy \
python-devel \
R-devel \
redhat-lsb \
redhat-lsb-core \
rsync \
scipy \
srm-ifce-devel \
stashcp \
subversion \
tcl-devel \
tcsh \
time \
tk-devel \
vim \
wget \
which \
xrootd-client-devel \
zlib-devel \
&& \
rm -f /etc/grid-security/certificates/*.r0 && \
yum clean all
# required directories
RUN for MNTPOINT in \
/cvmfs \
/ceph \
/hadoop \
/hdfs \
/mnt/hadoop \
/mnt/hdfs \
/xenon \
/scratch \
/spt \
/stash2 \
; do \
mkdir -p $MNTPOINT ; \
done
# make sure we have a way to bind host provided libraries
# see https://github.com/singularityware/singularity/issues/611
RUN mkdir -p /host-libs /etc/OpenCL/vendors
# some extra singularity stuff
COPY .singularity.d /.singularity.d
# build info
RUN echo "Timestamp:" `date --utc` | tee /image-build-info.txt