Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
espressomd
docker
Commits
d372d95f
Unverified
Commit
d372d95f
authored
Nov 03, 2020
by
Jean-Noël Grad
Committed by
GitHub
Nov 03, 2020
Browse files
Merge pull request #191 from jngrad/remove-centos
Remove CentOS and CUDA 9 images
parents
4f126520
9838f02a
Changes
4
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build.yml
View file @
d372d95f
...
...
@@ -9,8 +9,8 @@ jobs:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
image
:
[
'
centos'
,
'
debian'
,
'
fedora'
,
'
opensuse'
,
'
cuda'
,
'
ubuntu-18.04'
,
'
ubuntu-20.04'
,
'
ubuntu-wo-dependencies'
]
image
:
[
'
debian'
,
'
fedora'
,
'
opensuse'
,
'
cuda'
,
'
ubuntu-20.04'
,
'
ubuntu-wo-dependencies'
]
steps
:
-
uses
:
actions/checkout@master
-
name
:
Build and deploy
...
...
docker/Dockerfile-centos
deleted
100644 → 0
View file @
4f126520
FROM centos/devtoolset-6-toolchain-centos7
USER root
RUN yum -y install epel-release && yum -y install \
blas-devel \
boost169-devel \
boost169-openmpi-devel \
ccache \
cmake3 \
fftw-devel \
gdb \
git \
hdf5-openmpi-devel \
lapack-devel \
make \
openmpi-devel \
python36 \
python36-devel \
python36-Cython \
python36-numpy \
python36-scipy \
python36-pip \
python36-setuptools \
vim \
which \
zlib-devel \
&& yum clean all \
&& ln -s /usr/bin/cmake3 /usr/bin/cmake
ENV BOOST_INCLUDEDIR=/usr/include/boost169
ENV BOOST_LIBRARYDIR=/usr/lib64/boost169
RUN ln -s /usr/lib64/openmpi/lib/boost169/libboost_mpi.so /usr/lib64/boost169/libboost_mpi.so
RUN useradd -m espresso -u 1000
USER 1000
ENV HOME="/home/espresso"
# install Python3 packages locally
RUN pip3 install --user h5py
WORKDIR /home/espresso
docker/Dockerfile-debian
View file @
d372d95f
...
...
@@ -4,7 +4,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils \
build-essential \
ccache \
cmake \
cython3 \
gdb \
git \
...
...
@@ -27,5 +26,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso
USER 1000
USER espresso
ENV HOME="/home/espresso"
ENV PATH="${PATH}:${HOME}/.local/bin"
RUN pip3 install --user 'cmake==3.17'
WORKDIR /home/espresso
docker/Dockerfile-ubuntu-18.04
deleted
100644 → 0
View file @
4f126520
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND noninteractive
COPY build-and-install-scafacos.sh /tmp
COPY ubuntu-packages.txt /tmp
RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install --no-install-recommends -y \
&& apt-get install --no-install-recommends -y \
libthrust-dev \
nvidia-cuda-toolkit \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN bash /tmp/build-and-install-scafacos.sh
ENV NVIDIA_VISIBLE_DEVICES all
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment