-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (29 loc) · 1.11 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
FROM ubuntu:16.04
LABEL maintainer="takahasi <[email protected]>" \
description="OpenRTM on Docker: OpenRTM-aist on Docker images." \
build_type="ubuntu-all_desktop"
ENV DEBIAN_FRONTEND noninteractive
RUN set -x && \
apt-get update -qq
COPY pkg_install.sh /
RUN apt-get install -y bc \
cmake \
git \
iputils-ping \
libopencv-dev \
lxde \
net-tools \
python-tk \
subversion \
xrdp && \
chmod a+x ./pkg_install.sh && sync && \
./pkg_install.sh -l all -c --yes && \
./pkg_install.sh -l all -d --yes && \
svn export http://svn.openrtm.org/ImageProcessing/trunk/ImageProcessing/ && \
cd ImageProcessing/opencv/components/ && mkdir -p build && cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make install && cd / && \
echo lxsession -s LXDE -e LXDE > ~/.xsession && \
yes root | passwd root
RUN apt-get autoclean -y && \
apt-get autoremove -y
ENTRYPOINT ["/bin/bash", "-c"]