-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (32 loc) · 1.19 KB
/
Copy pathDockerfile
File metadata and controls
39 lines (32 loc) · 1.19 KB
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
31
32
33
34
35
36
37
38
39
FROM ubuntu:18.04
ENV PATH="/root/miniconda3/bin:${PATH}"
ARG PATH="/root/miniconda3/bin:${PATH}"
LABEL author=sean.halpin
RUN apt-get update && apt-get install --no-install-recommends -y \
apt-utils \
build-essential \
curl
RUN apt-get install --no-install-recommends -y \
gstreamer1.0-plugins-ugly \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-good \
gstreamer1.0-x \
gstreamer1.0-libav \
gstreamer1.0-tools
RUN apt-get install --no-install-recommends -y \
libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev \
libglib2.0-dev
RUN apt-get install --no-install-recommends -y wget ca-certificates
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
RUN bash ~/miniconda.sh -b -p $HOME/miniconda
RUN wget \
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& mkdir -p /root/.conda \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm -f Miniconda3-latest-Linux-x86_64.sh
RUN conda --version
RUN conda install jupyterlab notebook xeus-cling -c conda-forge
WORKDIR /notebooks
CMD ["/root/miniconda3/bin/jupyter","notebook", "--allow-root"]