diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 00235955..e5fae157 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -27,7 +27,8 @@ RUN DEBIAN_FRONTEND=noninteractive \ mesa-common-dev \ "ros-${ROS_DISTRO}-rmw-cyclonedds-cpp" \ "ros-${ROS_DISTRO}-ros-gz-interfaces" \ - python3-pip && \ + python3-pip \ + $(cat /tmp_setup/deb_requirements.txt) && \ rm -rf /var/lib/apt/lists/* COPY .devcontainer/ros_entrypoint.sh /ros_entrypoint.sh @@ -35,10 +36,6 @@ RUN chmod +x /ros_entrypoint.sh ############################################################################## ## Scenario Execution Dependencies ## ############################################################################## -RUN --mount=type=bind,target=/tmp_setup export DEBIAN_FRONTEND=noninteractive && \ - apt-get update && \ - apt-get install -y --no-install-recommends $(cat /tmp_setup/deb_requirements.txt) && \ - rm -rf /var/lib/apt/lists/* RUN --mount=type=bind,target=/tmp_setup export DEBIAN_FRONTEND=noninteractive && \ apt-get update && \