-
Notifications
You must be signed in to change notification settings - Fork 23
/
Dockerfile
33 lines (25 loc) · 830 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
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/London
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Install.
RUN \
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
apt-get update && \
apt-get -y upgrade && \
apt-get install -y build-essential && \
# apt-get install default-jre default-jdk maven -y && \
apt-get install -y software-properties-common && \
apt-get install -y byobu curl git htop man unzip vim wget zip && \
apt-get install python3.6 python3-pip python3.6-tk -y && \
rm -rf /var/lib/apt/lists/*
# Add files.
COPY ./ /root/
# Set environment variables.
ENV HOME /root
# Define working directory.
WORKDIR /root
RUN pip3 install theano tensorflow
RUN pip3 install -r requirements.txt
# Define default command.
CMD ["bash"]