-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
44 lines (28 loc) · 1.18 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Each instruction in this file generates a new layer that gets pushed to your local image cache
# Lines preceeded by # are regarded as comments and ignored
FROM tensorflow/tensorflow:custom-op-ubuntu16
# Identify the maintainer of an image
LABEL maintainer="[email protected]"
LABEL version="0.1"
LABEL description="Tensorflow + swipl + some other libraries"
#
# Update the image to the latest packages
#RUN apt-get update && apt-get upgrade -y
RUN apt-get update
#
RUN apt-get install -y wget vim htop fish datamash graphviz libgraphviz-dev swi-prolog
RUN pip3 --no-cache-dir install ipython pandas
RUN pip3 --no-cache-dir install docopt joblib natsort scipy
RUN pip3 --no-cache-dir install tqdm keras matplotlib librosa scikit-learn
RUN pip3 --no-cache-dir install dill bleach namedtupled
RUN pip3 --no-cache-dir install PyEMD
RUN pip3 --no-cache-dir install pytorch-pretrained-bert==0.6.1 torch==1.0.1.post2 seqeval==0.0.5 nltk
RUN pip3 --no-cache-dir install networkx pathlib pygraphviz
RUN apt-get install -y git
#
RUN apt-get install -y python3-venv
# Install locales
RUN apt-get install -y locales locales-all
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8