Skip to content

Commit 166e95e

Browse files
author
Ryo Nakamaru
committed
new versions
Signed-off-by: Ryo Nakamaru <nakamaru@supinf.co.jp>
1 parent 54693c9 commit 166e95e

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

versions/3.1/Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM debian:stretch-slim
2+
3+
ENV OPENMPI_VERSION=3.1.3 \
4+
LD_LIBRARY_PATH=/usr/local/lib
5+
6+
RUN apt-get update && apt-get install -y gcc ssh wget curl
7+
8+
RUN build_packages="build-essential" \
9+
&& apt-get update \
10+
&& apt-get install -y ${build_packages} \
11+
&& repo="https://www.open-mpi.org/software/ompi/v3.1/downloads" \
12+
&& curl --location --silent --show-error --output openmpi.tar.gz \
13+
"${repo}/openmpi-${OPENMPI_VERSION}.tar.gz" \
14+
&& echo '2cf91c5fb8f18acab239f6a8df4c0f0cd4da760b openmpi.tar.gz' | sha1sum -c - \
15+
&& tar xzf openmpi.tar.gz -C /tmp/ \
16+
&& cd /tmp/openmpi-${OPENMPI_VERSION} \
17+
&& ./configure --prefix=/usr/local \
18+
&& make \
19+
&& make install \
20+
&& ldconfig \
21+
&& cd / \
22+
&& rm -rf /tmp/openmpi-${OPENMPI_VERSION} /openmpi.tar.gz \
23+
&& apt-get purge -y --auto-remove ${build_packages}

versions/4.0/Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM debian:stretch-slim
2+
3+
ENV OPENMPI_VERSION=4.0.0 \
4+
LD_LIBRARY_PATH=/usr/local/lib
5+
6+
RUN apt-get update && apt-get install -y gcc ssh wget curl
7+
8+
RUN build_packages="build-essential" \
9+
&& apt-get update \
10+
&& apt-get install -y ${build_packages} \
11+
&& repo="https://www.open-mpi.org/software/ompi/v4.0/downloads" \
12+
&& curl --location --silent --show-error --output openmpi.tar.gz \
13+
"${repo}/openmpi-${OPENMPI_VERSION}.tar.gz" \
14+
&& echo '951a6c18bd5117403455f5a1dd21e6e1157ef1d4 openmpi.tar.gz' | sha1sum -c - \
15+
&& tar xzf openmpi.tar.gz -C /tmp/ \
16+
&& cd /tmp/openmpi-${OPENMPI_VERSION} \
17+
&& ./configure --prefix=/usr/local \
18+
&& make \
19+
&& make install \
20+
&& ldconfig \
21+
&& cd / \
22+
&& rm -rf /tmp/openmpi-${OPENMPI_VERSION} /openmpi.tar.gz \
23+
&& apt-get purge -y --auto-remove ${build_packages}

0 commit comments

Comments
 (0)