forked from rwightman/udacity-driving-reader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (31 loc) · 834 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
FROM ros:kinetic-perception
# CPU Python 3.5 variant of Tensorflow
ENV TENSORFLOW_VARIANT cpu/tensorflow-0.11.0rc0-cp27-none
# The basics
RUN apt-get update && apt-get install -q -y \
wget \
pkg-config \
git-core \
python \
python-dev \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install Pip n Python modules
RUN wget https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py && \
rm get-pip.py \
&& \
pip --no-cache-dir install \
scipy \
numpy \
matplotlib \
pandas \
ipykernel \
jupyter \
pyyaml \
&& \
python -m ipykernel.kernelspec
# Install TensorFlow
RUN pip --no-cache-dir install \
http://storage.googleapis.com/tensorflow/linux/${TENSORFLOW_VARIANT}-linux_x86_64.whl