forked from cta-lapp/docker-fedora-devel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (21 loc) · 1.12 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
FROM fedora:25
MAINTAINER CTA LAPP <[email protected]>
RUN echo 'check-update' ; dnf check-update -yv \
&& echo 'distro-sync' ; dnf distro-sync -yv \
&& echo 'install C Dev' ; dnf group install -yv 'C Development Tools and Libraries' \
&& echo 'install dDev tools'; dnf group install -yv 'Development Tools' \
&& dnf install -y wget bzip2 bzip2-devel libXext libSM libXrender cmake \
graphviz hdf5 hdf5-devel fftw-libs fftw-devel
ARG MINICONDA_VERSION=4.3.11
RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh -O ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh
RUN TINI_VERSION=`curl https://github.com/krallin/tini/releases/latest | grep -o "/v.*\"" | sed 's:^..\(.*\).$:\1:'` \
&& curl -L "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini_${TINI_VERSION}.rpm" > tini.rpm \
&& rpm -i tini.rpm \
&& rm tini.rpm
ENV PATH /opt/conda/bin:$PATH
ENV LANG en_US.utf8
ENTRYPOINT [ "/usr/bin/tini", "--" ]
CMD ["bash"]