db1d565b64
Integration Tests / melodic (push) Has been cancelled
Integration Tests / noetic (push) Has been cancelled
Integration Tests / humble (push) Has been cancelled
Integration Tests / jazzy (push) Has been cancelled
Ruff Lint & Format / ruff (push) Has been cancelled
Sync main to develop / Check if sync is needed (push) Has been cancelled
Sync main to develop / Sync main to develop (push) Has been cancelled
21 lines
522 B
Docker
21 lines
522 B
Docker
# ROS2 Humble with Turtlesim
|
|
FROM osrf/ros:humble-desktop
|
|
|
|
ENV ROS_DISTRO=humble
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
# Install turtlesim and rosbridge packages
|
|
RUN apt-get update && apt-get install -y \
|
|
ros-humble-turtlesim \
|
|
ros-humble-rosbridge-suite \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Auto-source ROS environment in container shell
|
|
RUN echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc
|
|
|
|
# Set working directory
|
|
WORKDIR /ros2_ws
|
|
|
|
# Default command to keep container running
|
|
CMD ["/bin/bash"]
|