-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
47 lines (38 loc) · 979 Bytes
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM ubuntu:16.04
MAINTAINER @jguillaumin
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
unzip \
build-essential \
curl \
libfreetype6-dev \
libpng12-dev \
libzmq3-dev \
pkg-config \
rsync \
software-properties-common \
python3-dev \
language-pack-de \
fonts-lmodern \
lmodern \
pandoc \
texlive-base \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-latex-recommended \
texlive-xetex
# && \
# apt-get clean && \
# rm -rf /var/lib/apt/lists/*
RUN locale-gen "en_US.UTF-8"
ENV LANG=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
ADD https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh tmp/Miniconda3-latest-Linux-x86_64.sh
RUN bash tmp/Miniconda3-latest-Linux-x86_64.sh -b
ENV PATH $PATH:/root/miniconda3/bin/
RUN conda create -n keras-doc pip python=3.5
RUN mkdir /src
WORKDIR "/src"
COPY run.sh /
RUN chmod +x /run.sh
ENTRYPOINT ["/run.sh"]