Dockerfile 1.81 KB
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
1
2
FROM ubuntu:18.04

Guilhem Saurel's avatar
Guilhem Saurel committed
3
ENV DEVEL_HPP_DIR=/workspace UBUNTU=bionic ROS=melodic
Guilhem Saurel's avatar
Guilhem Saurel committed
4

Guilhem Saurel's avatar
Guilhem Saurel committed
5
RUN apt-get update -y && apt-get install -y \
Guilhem Saurel's avatar
Guilhem Saurel committed
6
7
8
9
   curl \
   gnupg2 \
   && rm -rf /var/lib/apt/lists/*

Guilhem Saurel's avatar
Guilhem Saurel committed
10
11
12
13
14
15
16
ADD repos.key /
RUN echo "deb http://packages.ros.org/ros/ubuntu ${UBUNTU} main" > /etc/apt/sources.list.d/ros-latest.list \
 && echo "deb [arch=amd64] http://robotpkg.openrobots.org/wip/packages/debian/pub ${UBUNTU} robotpkg" \
 >> /etc/apt/sources.list.d/robotpkg.list \
 && echo "deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub ${UBUNTU} robotpkg" \
 >> /etc/apt/sources.list.d/robotpkg.list \
 && apt-key add /repos.key
Guilhem Saurel's avatar
Guilhem Saurel committed
17

Guilhem Saurel's avatar
Guilhem Saurel committed
18
19
RUN apt-get update -qqy \
 && DEBIAN_FRONTEND=noninteractive apt-get install -qqy \
Guilhem Saurel's avatar
Guilhem Saurel committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
    cmake \
    doxygen \
    g++ \
    git \
    libassimp-dev \
    libboost-dev \
    libccd-dev \
    libcdd-dev \
    libeigen3-dev \
    libglpk-dev \
    libgraphviz-dev \
    libltdl-dev \
    libomniorb4-dev \
    libpcre3-dev \
34
35
    libpythonqt-qtall-qt5-python2-dev \
    libpythonqt-qtall-qt5-python3-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
36
37
38
39
40
41
42
43
44
45
46
    libqt4-opengl-dev \
    libqtgui4 \
    libqtwebkit-dev \
    libtinyxml2-dev \
    liburdfdom-dev \
    libxml2 \
    omniorb-nameserver \
    oxygen-icon-theme \
    python-matplotlib \
    python-omniorb \
    qt4-dev-tools \
Guilhem Saurel's avatar
Guilhem Saurel committed
47
48
    qtbase5-dev \
    qttools5-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
49
    robotpkg-omniorb \
50
    robotpkg-openscenegraph \
Guilhem Saurel's avatar
Guilhem Saurel committed
51
52
53
    robotpkg-qpoases+doc \
    robotpkg-roboptim-core \
    robotpkg-roboptim-trajectory \
Guilhem Saurel's avatar
Guilhem Saurel committed
54
    robotpkg-romeo-description \
Guilhem Saurel's avatar
Guilhem Saurel committed
55
    robotpkg-py36-omniorbpy \
56
    robotpkg-qt5-osgqt \
Guilhem Saurel's avatar
Guilhem Saurel committed
57
58
59
60
61
62
63
    ros-${ROS}-octomap \
    ros-${ROS}-pr2-description \
    ros-${ROS}-resource-retriever \
    ros-${ROS}-srdfdom \
    ros-${ROS}-xacro \
    sudo \
    wget \
Guilhem Saurel's avatar
Guilhem Saurel committed
64
65
 && apt-get remove -y texlive-latex-base texlive-binaries ghostscript \
 && apt-get autoremove -y \
Guilhem Saurel's avatar
Guilhem Saurel committed
66
67
68
 && rm -rf /var/lib/apt/lists/*

COPY auto-install-hpp.sh /