From 8095517797dedca6a3ba4f85ad23d7cdf15bf9ab Mon Sep 17 00:00:00 2001 From: Woen-Sug Choi Date: Thu, 24 Oct 2024 11:08:01 +0900 Subject: [PATCH] remove sudo for arm dockerfile --- .docker/jazzy.arm64v8.dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.docker/jazzy.arm64v8.dockerfile b/.docker/jazzy.arm64v8.dockerfile index 77ad5abe..2a8e2cf3 100644 --- a/.docker/jazzy.arm64v8.dockerfile +++ b/.docker/jazzy.arm64v8.dockerfile @@ -134,10 +134,10 @@ extras/repos/dave.$ROS_DISTRO.repos RUN vcs import --shallow --input "/home/$USER/dave_ws/dave.repos" # hadolint ignore=DL3027 -RUN sudo apt update && sudo apt --fix-broken install && \ - sudo rosdep init && rosdep update --rosdistro $ROS_DISTRO && \ +RUN apt update && apt --fix-broken install && \ + rosdep init && rosdep update --rosdistro $ROS_DISTRO && \ rosdep install --rosdistro $ROS_DISTRO -iy --from-paths . && \ - sudo rm -rf /var/lib/apt/lists/ + rm -rf /var/lib/apt/lists/ # Build dave workspace WORKDIR $DAVE_UNDERLAY