-
Notifications
You must be signed in to change notification settings - Fork 2
/
centos-7-easybuild-3.5.2.bootstrap
48 lines (43 loc) · 1.73 KB
/
centos-7-easybuild-3.5.2.bootstrap
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
BootStrap: docker
From: centos
Include: yum
# If you want the updates (available at the bootstrap date) to be installed
# inside the container during the bootstrap instead of the General Availability
# point release (7.x) then uncomment the following line
#UpdateURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/updates/$basearch/
%runscript
echo "This is what happens when you run the container..."
%post
export EASYBUILD_VERSION="3.5.2"
yum -y install gcc
yum -y install gcc-c++
yum -y install glibc-static # workaround for intel stack protector bug
yum -y install glibc.i686 # workaround for OpenBLAS bug
yum -y install make
yum -y install glib2-devel # osbuilddepends for some module
yum -y install texlive # osbuilddepends for some module
yum -y install openssl-devel
yum -y install libibverbs-devel
yum -y install tar bzip2 gzip unzip
yum -y install tcsh
yum -y install which
yum -y install wget
yum -y install epel-release
yum -y install python-pip
yum -y install Lmod
yum -y install python-setuptools
yum -y install git
yum -y install patch
yum -y install GitPython
yum -y install file
yum -y install perl-Data-Dumper # for build of autoconf-2.69
yum -y install perl-Thread-Queue # for build of automake-1.15
yum -y install libX11-devel # for Tk
yum -y install m4 # missed 'nettle' dependency
yum -y install strace # for debugging
yum -y install emacs-nox # for debugging
yum clean all
rm -fr /var/cache/yum
pip install --upgrade pip
pip install easybuild==$EASYBUILD_VERSION
pip install pycodestyle # for eb --check-style