-
Notifications
You must be signed in to change notification settings - Fork 27
/
rhel-8.def
79 lines (75 loc) · 1.81 KB
/
rhel-8.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
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
Bootstrap: docker
From: rockylinux:8
%help
RHEL 8 compatible containter that can build ChimeraX
%labels
Maintainer "Chimera Staff <chimera-staff@cgl.ucsf.edu>"
org.label-schema.schema-version "1.0"
org.label-scheme.description "This image has the right compiler environment to run ChimeraX"
%post
yum --releasever=8 -y update
yum -y install epel-release dnf-plugins-core
yum config-manager --set-enabled powertools
yum -y --setopt=exclude='*.i?86' group install "Development Tools"
yum -y --setopt=exclude='*.i?86' install \
gcc-toolset-10 \
gcc-toolset-10-binutils-devel gcc-toolset-10-elfutils-devel gcc-toolset-10-valgrind-devel \
tcsh python2 \
chrpath patch openssh-clients rsync ca-certificates \
autoconf automake libtool pkgconfig \
flex bison yasm unzip tar gzip bzip2 xz p7zip \
rpm-build rpmdevtools rpmlint \
ImageMagick \
alsa-lib-devel \
atk-devel \
bzip2-devel \
cairo-devel \
cairo-gobject-devel \
cups-devel \
dbus-libs \
expat-devel \
fftw-devel \
fontconfig-devel \
freetype-devel \
gdk-pixbuf2-devel \
glib2-devel \
glibc-devel \
gtk3-devel \
hdf5-devel \
libdrm-devel \
libgcc \
libstdc++ \
libX11-devel \
libxcb-devel \
libXcomposite-devel \
libXcursor-devel \
libXdamage-devel \
libXext-devel \
libffi-devel \
libXfixes-devel \
libXi-devel \
libXrandr-devel \
libXrender-devel \
libXtst-devel \
mesa-libEGL \
mesa-libGL-devel \
mesa-libGLU-devel \
mesa-libOSMesa-devel \
mysql-libs \
nspr-devel \
nss-devel \
nss-util-devel \
openssl \
openssl-devel \
pango-devel \
pulseaudio-libs-devel \
sqlite-devel \
xdg-utils \
xz-devel \
zlib-devel
alternatives --set python /usr/bin/python2
%environment
export PATH=/usr/bin:/usr/sbin:/bin:/sbin
export SHELL=/bin/bash
export LANG=en_US.UTF-8
source /opt/rh/gcc-toolset-10/enable