-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathci-fedora.dockerfile
More file actions
43 lines (39 loc) · 1.1 KB
/
ci-fedora.dockerfile
File metadata and controls
43 lines (39 loc) · 1.1 KB
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
FROM fedora:latest
# Add the precice user to run test with mpi
RUN useradd -m -s /bin/bash precice
ENV PRECICE_USER=precice
# Install necessary dependencies for preCICE and PETSc
RUN dnf -y update && \
dnf -y install \
git \
cmake \
curl \
wget \
ccache \
gcc-c++ \
libasan \
libubsan \
libxml2-devel \
redhat-lsb \
boost-devel \
mpich-devel \
ninja-build \
petsc-mpich-devel \
eigen3-devel \
kokkos-devel \
python3-devel \
xz-devel \
python3-pip \
google-benchmark-devel \
environment-modules \
&& \
dnf clean all && \
echo "module load mpi/mpich-x86_64" > /etc/profile.d/mpich.sh
# Run interactively using a bash login shell
COPY --chown=root:root kokkos-kernels/99-kokkos-kernels-env.sh /etc/profile.d/
COPY kokkos-kernels/kokkos-kernels-install.sh kokkos-kernels-install.sh
RUN ./kokkos-kernels-install.sh && rm kokkos-kernels-install.sh
COPY --chown=root:root ginkgo/99-ginkgo-env.sh /etc/profile.d/
COPY ginkgo/ginkgo-install.sh ginkgo-install.sh
RUN ./ginkgo-install.sh && rm ginkgo-install.sh
CMD [ "bash", "--login" ]