-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunner.Dockerfile
More file actions
41 lines (33 loc) · 940 Bytes
/
runner.Dockerfile
File metadata and controls
41 lines (33 loc) · 940 Bytes
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
FROM terminus7/gpu-py2-th-kr
MAINTAINER Luis Mesas <luis.mesas@intelygenz.com>
#Open CV
ARG CUDA_ARCHITECTURE="3.0"
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python-opencv \
libdc1394-22-dev \
libopencv-dev \
libtbb2 \
libtbb-dev \
libjpeg-dev \
libpng-dev \
libtiff-dev \
libjasper-dev \
libv4l-dev \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/{apt,dpkg,cache,log}/ /tmp/* /var/tmp/*
ENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}
ENV LIBRARY_PATH /usr/lib/x86_64-linux-gnu:${LIBRARY_PATH}
# Supervisor
RUN apt-get update && \
apt-get install -y --no-install-recommends \
supervisor \
&& \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/{apt,dpkg,cache,log}/ /tmp/* /var/tmp/* && \
service supervisor restart
WORKDIR "/root"
CMD ["/bin/bash"]