-
Notifications
You must be signed in to change notification settings - Fork 20
/
Dockerfile
44 lines (40 loc) · 923 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
36
37
38
39
40
41
42
43
44
# A Dockerfile that sets up a full SenseNet install
FROM ubuntu:14.04
RUN apt-get update \
&& apt-get install -y libav-tools \
python-numpy \
python-scipy \
python-pyglet \
python-setuptools \
libpq-dev \
libjpeg-dev \
curl \
cmake \
swig \
freeglut3 \
python-opengl \
libboost-all-dev \
libglu1-mesa \
libglu1-mesa-dev \
libsdl2-2.0-0\
libgles2-mesa-dev \
libsdl2-dev \
wget \
unzip \
git \
xserver-xorg-input-void \
xserver-xorg-video-dummy \
python-gtkglext1 \
xpra \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& easy_install pip
WORKDIR /usr/local/sensenet
RUN mkdir -p sensenet && touch sensenet/__init__.py
COPY ./sensenet/version.py ./sensenet
COPY ./requirements.txt .
COPY ./setup.py .
RUN pip install -e .[all]
# Finally, upload our actual code!
COPY . /usr/local/sensenet
WORKDIR /root