Dockerfile 1.72 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
34
35
36
37
38
39
40
41
42
43
44
45
46
    cmake \
    doxygen \
    g++ \
    git \
    libassimp-dev \
    libboost-dev \
    libccd-dev \
    libcdd-dev \
    libeigen3-dev \
    libglpk-dev \
    libgraphviz-dev \
    libltdl-dev \
    libomniorb4-dev \
    libopenscenegraph-dev \
    libpcre3-dev \
    libqt4-opengl-dev \
    libqtgui4 \
    libqtwebkit-dev \
    libtinyxml2-dev \
    liburdfdom-dev \
    libxml2 \
    omniorb-nameserver \
    openscenegraph \
    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
50
51
52
    robotpkg-omniorb \
    robotpkg-qpoases+doc \
    robotpkg-roboptim-core \
    robotpkg-roboptim-trajectory \
Guilhem Saurel's avatar
Guilhem Saurel committed
53
    robotpkg-romeo-description \
Guilhem Saurel's avatar
Guilhem Saurel committed
54
55
56
57
58
59
60
61
    robotpkg-py36-omniorbpy \
    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
62
63
 && apt-get remove -y texlive-latex-base texlive-binaries ghostscript \
 && apt-get autoremove -y \
Guilhem Saurel's avatar
Guilhem Saurel committed
64
65
66
 && rm -rf /var/lib/apt/lists/*

COPY auto-install-hpp.sh /