-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
31 lines (24 loc) · 988 Bytes
/
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
FROM ros:noetic
SHELL [ "/bin/bash", "-c" ]
# Install dependencies
RUN apt-get -qq update > /dev/null && \
apt-get -yqq install git \
python3-catkin-tools \
ros-$ROS_DISTRO-catkin \
ros-$ROS_DISTRO-tf \
ros-$ROS_DISTRO-tf2-geometry-msgs \
libyaml-cpp-dev > /dev/null && \
apt-get clean > /dev/null
WORKDIR /workspace/catkin_ws/src
# Clone dependencies
RUN git clone https://github.com/kelo-robotics/geometry_common.git
# Copy the yaml_common source code to the docker container
WORKDIR /workspace/catkin_ws/src/yaml_common
ADD . /workspace/catkin_ws/src/yaml_common/
# Compile the ROS catkin workspace
# RUN cd /workspace/catkin_ws && \
# /ros_entrypoint.sh catkin build --no-status
# Run unit tests
# RUN source /workspace/catkin_ws/devel/setup.bash && \
# cd /workspace/catkin_ws/src/yaml_common && \
# catkin test --this --no-status