Unverified Commit d4964782 authored by Rudolf Weeber's avatar Rudolf Weeber Committed by GitHub
Browse files

Merge pull request #184 from jngrad/cmake_3_11

Update images
parents fc7628d3 8fb10a87
FROM debian:buster
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils \
build-essential \
ccache \
......
FROM opensuse/leap:15.1
FROM opensuse/leap:15.2
RUN ln -s /usr/sbin/update-alternatives /usr/bin
RUN zypper -n --gpg-auto-import-keys refresh \
&& zypper -n --gpg-auto-import-keys install \
......@@ -10,11 +10,12 @@ RUN zypper -n --gpg-auto-import-keys refresh \
gcc-c++ \
gdb \
git \
hdf5-openmpi-devel-static \
hdf5-openmpi2-devel-static \
lapack-devel \
libboost_serialization1_66_0-devel libboost_mpi1_66_0-devel libboost_filesystem1_66_0-devel libboost_test1_66_0-devel \
libhdf5-103-openmpi2 \
Modules \
openmpi2 \
python3 \
python3-Cython \
python3-numpy \
......@@ -24,7 +25,8 @@ RUN zypper -n --gpg-auto-import-keys refresh \
python3-setuptools \
python3-h5py \
vim \
which
which \
zlib-devel-static
RUN /usr/sbin/useradd -m espresso
USER 1000
WORKDIR /home/espresso
......@@ -12,5 +12,8 @@ RUN apt_folder=$([ "${BASE_VERSION}" = "latest" ] && echo "debian" || echo "${BA
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso
USER 1000
USER espresso
ENV HOME="/home/espresso"
ENV PATH="${HOME}/.local/bin:${PATH}"
RUN pip3 install --user 'cmake==3.11'
WORKDIR /home/espresso
......@@ -15,4 +15,7 @@ ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
RUN useradd -m espresso
USER espresso
ENV HOME="/home/espresso"
ENV PATH="${HOME}/.local/bin:${PATH}"
RUN pip3 install --user 'cmake==3.11'
WORKDIR /home/espresso
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment