-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcentos7_qt5.def
executable file
·56 lines (47 loc) · 1.64 KB
/
centos7_qt5.def
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
BootStrap: yum
OSVersion: 7
MirrorURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/os/$basearch/
Include: yum
%setup
%files
%environment
%runscript
%post
# commands to be executed inside container during bootstrap
# add python and install some packages
yum update -y
yum install -y epel-release
yum install -y terminator
yum install -y centos-release-scl
yum install -y vte-devel
yum install -y vte291-devel
yum install -y vte-profile
# yum -y install devtoolset-7
yum install -y devtoolset-7-gcc*
scl enable devtoolset-7 bash
yum -y groups install "Development Tools"
# yum -y groups install "GNOME Desktop"
yum -y groups install "Base"
# yum -y groups install "X Window System" "Desktop" "Fonts"
yum -y install git cmake gcc-c++ gcc binutils \
libX11-devel libXpm-devel libXft-devel libXext-devel
yum -y install gcc-gfortran openssl-devel pcre-devel \
mesa-libGL-devel mesa-libGLU-devel glew-devel ftgl-devel mysql-devel \
fftw-devel cfitsio-devel graphviz-devel \
avahi-compat-libdns_sd-devel libldap-dev python-devel \
libxml2-devel gsl-devel
yum -y install openmpi-devel
yum -y install cmake3
yum -y install hdf5-devel
# yum -y install boost-devel
yum -y install patch
yum -y install qt5-qtbase-devel
yum -y install qt5-qtsvg-devel
yum -y install git g++ numpy eigen3-devel zlib-devel libqt4-devel libgl1-mesa-dev libtiff-devel
yum -y update
mkdir -p /storage/home
mkdir -p /storage/work
mkdir -p /gpfs/scratch
mkdir -p /gpfs/group
scl enable devtoolset-7 bash
# echo "scl enable devtoolset-7 bash" >> ~/.bashrc