Skip to content

Commit 86201ed

Browse files
authored
Update Dockerfile
1 parent 88f8d24 commit 86201ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN --mount=type=cache,target=/root/.ccache/ \
6161
# Enable ccache
6262
. "/opt/ros/${ROS_DISTRO}/setup.sh" &&\
6363
. "install/setup.sh" &&\
64-
sudo apt update && rosdep install -r --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y && \
64+
sudo apt update && rosdep update && rosdep install -r --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y && \
6565
colcon build \
6666
--cmake-args -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
6767
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \

0 commit comments

Comments
 (0)