diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile index db5ed479..ea2265fe 100644 --- a/.github/workflows/Dockerfile +++ b/.github/workflows/Dockerfile @@ -12,8 +12,8 @@ RUN --mount=type=bind,source=.,target=/scenario_execution \ tk \ libgl1 && \ xargs -a /scenario_execution/deb_requirements.txt apt-get install -y --no-install-recommends && \ - rosdep update --rosdistro=humble && \ - rosdep install --rosdistro=humble --from-paths /scenario_execution/ --ignore-src -r -y && \ + rosdep update --rosdistro=${ROS_DISTRO} && \ + rosdep install --rosdistro=${ROS_DISTRO} --from-paths /scenario_execution/ --ignore-src -r -y && \ rm -rf /var/lib/apt/lists/* # hadolint ignore=DL3042