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

Guilhem Saurel's avatar
Guilhem Saurel committed
3
ENV DEVEL_HPP_DIR=/workspace UBUNTU=focal ROS=noetic
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 \
6
   curl \
Guilhem Saurel's avatar
Guilhem Saurel committed
7
   gnupg2 \
8
9
   && 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
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
    cmake \
    doxygen \
Guilhem Saurel's avatar
Guilhem Saurel committed
22
23
    g++ \
    git \
Guilhem Saurel's avatar
Guilhem Saurel committed
24
    graphviz \
Guilhem Saurel's avatar
Guilhem Saurel committed
25
26
    libassimp-dev \
    libboost-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
27
    libccd-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
28
    libcdd-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
29
    libeigen3-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
30
    libglpk-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
31
    libgraphviz-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
32
    libltdl-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
33
34
    libomniorb4-dev \
    libpcre3-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
35
36
37
    libqt5svg5-dev \
    libqt5webkit5-dev \
    libqt5xmlpatterns5-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
38
39
    libtinyxml2-dev \
    liburdfdom-dev \
Guilhem Saurel's avatar
Guilhem Saurel committed
40
    libxml2 \
Guilhem Saurel's avatar
Guilhem Saurel committed
41
42
    omniorb-nameserver \
    oxygen-icon-theme \
Guilhem Saurel's avatar
Guilhem Saurel committed
43
44
45
46
47
48
49
50
    pyqt5-dev \
    python-is-python3 \
    python3-pyqt5 \
    python3-matplotlib \
    qtdeclarative5-dev \
    qtbase5-private-dev \
    qtmultimedia5-dev \
    robotpkg-omniorb \
51
    robotpkg-openscenegraph \
Guilhem Saurel's avatar
Guilhem Saurel committed
52
53
54
    robotpkg-qpoases+doc \
    robotpkg-roboptim-core \
    robotpkg-roboptim-trajectory \
Guilhem Saurel's avatar
Guilhem Saurel committed
55
56
    robotpkg-romeo-description \
    robotpkg-py38-omniorbpy \
57
    robotpkg-py38-pythonqt \
Guilhem Saurel's avatar
Guilhem Saurel committed
58
    robotpkg-qt5-osgqt \
Guilhem Saurel's avatar
Guilhem Saurel committed
59
60
    ros-${ROS}-octomap \
    ros-${ROS}-resource-retriever \
Guilhem Saurel's avatar
Guilhem Saurel committed
61
    ros-${ROS}-srdfdom \
Guilhem Saurel's avatar
Guilhem Saurel committed
62
    ros-${ROS}-xacro \
Guilhem Saurel's avatar
Guilhem Saurel committed
63
64
    sudo \
    wget \
Guilhem Saurel's avatar
Guilhem Saurel committed
65
66
 && apt-get remove -y texlive-latex-base texlive-binaries ghostscript \
 && apt-get autoremove -y \
Guilhem Saurel's avatar
Guilhem Saurel committed
67
 && rm -rf /var/lib/apt/lists/*
68

69
COPY auto-install-hpp.sh /