-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdockerfile
More file actions
31 lines (22 loc) · 708 Bytes
/
Copy pathdockerfile
File metadata and controls
31 lines (22 loc) · 708 Bytes
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
FROM debian:buster-slim
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt install -qy \
wget
# Install R.
#RUN apt install -qy r-base
# Install SSH.
RUN apt install -qy openssh-server
# Install Python through miniconda.
RUN wget -qO miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
/bin/bash miniconda.sh -b -p /usr/lib/miniconda3 && \
rm -f miniconda.sh && \
ln -s /usr/lib/miniconda3/bin/conda /usr/bin/conda && \
conda update -n base -c defaults conda
# PyAgrum dependencies.
RUN apt install -qy graphviz
# Clean up.
RUN apt-get remove -y \
wget \
&& apt-get clean
# Keep container up.
CMD ["tail", "-f", "/dev/null"]