forked from yilmazabdurrah/franka_arm_ros2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
43 lines (41 loc) · 1.17 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
37
38
39
40
41
42
43
FROM ros:humble
RUN apt-get update -y && apt-get install -y --allow-unauthenticated \
clang-14 \
clang-format-14 \
clang-tidy-14 \
python3-pip \
libpoco-dev \
libeigen3-dev \
ros-humble-control-msgs \
ros-humble-xacro \
ros-humble-ament-cmake-clang-format \
ros-humble-ament-clang-format \
ros-humble-ament-flake8 \
ros-humble-ament-cmake-clang-tidy \
ros-humble-angles \
ros-humble-ros2-control \
ros-humble-realtime-tools \
ros-humble-control-toolbox \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install -U \
argcomplete \
flake8-blind-except \
flake8-builtins \
flake8-class-newline \
flake8-comprehensions \
flake8-deprecated \
flake8-docstrings \
flake8-import-order \
flake8-quotes \
pytest-repeat \
pytest-rerunfailures \
pytest
RUN mkdir ~/source_code
RUN cd ~/source_code && git clone https://github.com/frankaemika/libfranka.git \
&& cd libfranka \
&& git submodule init \
&& git submodule update \
&& mkdir build && cd build \
&& cmake -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF .. \
&& make franka -j$(nproc) \
&& make install