File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ RUN dnf install \
1919
2020# Setup Sources
2121RUN export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}') && \
22- dnf install "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-release-${ROS_APT_SOURCE_VERSION}-1.noarch.rpm"
22+ dnf install -y "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-release-${ROS_APT_SOURCE_VERSION}-1.noarch.rpm"
2323
2424# install ros
2525ENV ROS_DISTRO=${ROS_DISTRO}
Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ ARG ROS_DISTRO=rolling
33
44# ROS prerequisites
55# see https://docs.ros.org/en/rolling/Installation/RHEL-Install-RPMs.html
6- RUN dnf install -y langpacks-en glibc-langpack-en \ && \
6+ RUN dnf install -y langpacks-en glibc-langpack-en && \
77 export LANG=en_US.UTF-8 && \
88 dnf install -y 'dnf-command(config-manager)' epel-release && \
9- dnf config-manager --set-enabled crb \
10- && dnf clean all
9+ dnf config-manager --set-enabled crb && \
10+ dnf clean all
1111
1212# Setup Sources
1313RUN export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}') && \
14- dnf install "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-release-${ROS_APT_SOURCE_VERSION}-1.noarch.rpm"
14+ dnf install -y "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-release-${ROS_APT_SOURCE_VERSION}-1.noarch.rpm"
1515
1616# install ros
1717RUN dnf makecache -y
You can’t perform that action at this time.
0 commit comments