You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---
Last time an Ubuntu distro was added specific conditionals were put in place for when the distro != `noble`. Since noble and jammy were the two options with the addition of resolute is easier to condition on the distro being jammy rather than not `noble` || `resolute`. This has the advantage of easier cleanup once jammy is EOL.
RUN echo "Bust Cache for key update 2021-06-01" && curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key | apt-key add -
43
43
44
44
# Add the OSRF repositories to the apt sources list.
45
-
RUN if test \( ${UBUNTU_DISTRO} != noble\); then echo "deb http://packages.osrfoundation.org/gazebo/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-latest.list; fi
45
+
RUN if test \( ${UBUNTU_DISTRO} = jammy\); then echo "deb http://packages.osrfoundation.org/gazebo/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-latest.list; fi
46
46
RUN curl --silent http://packages.osrfoundation.org/gazebo.key | apt-key add -
0 commit comments