From 2bd7ccefba8f431f5deb01b692cba61e17ea0ccb Mon Sep 17 00:00:00 2001 From: Woen-Sug Choi Date: Thu, 24 Oct 2024 11:30:23 +0900 Subject: [PATCH] sudo prev fix attempt --- .docker/jazzy.arm64v8.dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.docker/jazzy.arm64v8.dockerfile b/.docker/jazzy.arm64v8.dockerfile index 2a8e2cf3..ab6235a2 100644 --- a/.docker/jazzy.arm64v8.dockerfile +++ b/.docker/jazzy.arm64v8.dockerfile @@ -133,11 +133,13 @@ RUN wget -O /home/$USER/dave_ws/dave.repos -q https://raw.githubusercontent.com/ extras/repos/dave.$ROS_DISTRO.repos RUN vcs import --shallow --input "/home/$USER/dave_ws/dave.repos" +USER root # hadolint ignore=DL3027 RUN apt update && apt --fix-broken install && \ rosdep init && rosdep update --rosdistro $ROS_DISTRO && \ rosdep install --rosdistro $ROS_DISTRO -iy --from-paths . && \ rm -rf /var/lib/apt/lists/ +USER docker # Build dave workspace WORKDIR $DAVE_UNDERLAY