-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
52 lines (45 loc) · 1.09 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
44
45
46
47
48
49
50
51
52
# Use an official Ubuntu runtime as a parent image
FROM osrf/ros:indigo-desktop-trusty
# install ros packages
RUN apt-get update && apt-get install -y \
ros-indigo-desktop-full=1.1.5-0* \
build-essential \
curl \
imagemagick \
libfreetype6-dev \
libpng12-dev \
libzmq3-dev \
pkg-config \
python \
python-dev \
# python3 \
# python3-pip \
# python3-dev \
# python3-tk \
rsync \
software-properties-common \
unzip
RUN apt-get remove python-numpy -y && \
apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
# python3 get-pip.py && \
python get-pip.py && \
rm get-pip.py
# RUN pip3 --no-cache-dir install \
RUN pip --no-cache-dir install \
Pillow \
h5py \
matplotlib \
numpy \
pandas \
scipy \
sklearn \
pyyaml \
wheel \
tensorflow
WORKDIR /main
# Copy the current directory contents into the container at /app
ADD . /main
# Run session.py when the container launches
# CMD ["python3", "session.py"]