/
Dockerfile
114 lines (107 loc) · 2.13 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
FROM fedora:35
LABEL maintainer="Mark Grondona <mgrondona@llnl.gov>"
# Enable PowerTools for development packages
RUN yum -y update \
&& yum -y update \
# Utilities
&& yum -y install \
wget \
man-db \
less \
git \
sudo \
munge \
ccache \
lua \
mpich \
valgrind \
jq \
which \
file \
vim \
patch \
diffutils \
hostname \
flex \
# Compilers, autotools
pkgconfig \
libtool \
autoconf \
automake \
gcc \
gcc-c++ \
libasan \
make \
cmake \
# Python
python36 \
python3-devel \
python3-cffi \
python3-six \
python3-yaml \
python3-jsonschema \
python3-sphinx \
# Development dependencies
libsodium-devel \
zeromq-devel \
jansson-devel \
munge-devel \
ncurses-devel \
lz4-devel \
sqlite-devel \
libuuid-devel \
hwloc-devel \
mpich-devel \
lua-devel \
valgrind-devel \
libs3-devel \
libarchive-devel \
pam-devel \
libevent-devel \
# Other deps
perl-Time-HiRes \
lua-posix \
libfaketime \
cppcheck \
enchant \
aspell \
aspell-en \
glibc-langpack-en \
lcov \
hwloc \
&& yum clean all
# Add /usr/bin/mpicc link so MPI tests are built
RUN alternatives --install /usr/bin/mpicc mpicc /usr/lib64/mpich/bin/mpicc 100
# Install caliper by hand for now:
RUN mkdir caliper \
&& cd caliper \
&& wget -O - https://github.com/LLNL/Caliper/archive/v1.7.0.tar.gz | tar xvz --strip-components 1 \
&& mkdir build \
&& cd build \
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GOTCHA=off \
&& make -j 4 \
&& make install \
&& cd ../.. \
&& rm -rf caliper
# Install openpmix, prrte
RUN mkdir prrte \
&& cd prrte \
&& git clone https://github.com/openpmix/openpmix.git \
&& git clone https://github.com/openpmix/prrte.git \
&& ls -l \
&& set -x \
&& cd openpmix \
&& git checkout fefaed568f33bf86f28afb6e45237f1ec5e4de93 \
&& ./autogen.pl \
&& ./configure --prefix=/usr --disable-static && make -j 4 install \
&& ldconfig \
&& cd .. \
&& cd prrte \
&& git checkout 477894f4720d822b15cab56eee7665107832921c \
&& ./autogen.pl \
&& ./configure --prefix=/usr && make -j 4 install \
&& cd ../.. \
&& rm -rf prrte
ENV LANG=C.UTF-8
RUN printf "LANG=C.UTF-8" > /etc/locale.conf
COPY config.site /usr/share/config.site