-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·46 lines (42 loc) · 1.17 KB
/
Dockerfile
File metadata and controls
executable file
·46 lines (42 loc) · 1.17 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
40
41
42
43
44
45
46
# TensorPy Docker Image
FROM ubuntu:17.10
#================================
# Update apt-get package sources
#================================
RUN apt-get update
#==================================================
# Install Bash Command Line Tools, Python, and Git
#==================================================
RUN apt-get -qy --no-install-recommends install \
python \
python-dev \
python-pip \
python-distribute \
python-virtualenv \
python-setuptools \
sudo \
unzip \
wget \
curl \
libxi6 \
libgconf-2-4 \
vim \
git-core \
&& rm -rf /var/lib/apt/lists/*
#==============================
# Set up TensorFlow / TensorPy
#==============================
COPY install.sh /TensorPy/install.sh
COPY requirements.txt /TensorPy/
COPY setup.py /TensorPy/
COPY tensorpy /TensorPy/tensorpy/
COPY examples /TensorPy/examples/
COPY integrations/docker/run_docker_test.sh /TensorPy/
RUN cd /TensorPy && ls && ./install.sh
RUN cd /TensorPy && pip install -r requirements.txt
#===================
# Create entrypoint
#===================
COPY integrations/docker/docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/bin/bash"]