diff --git a/docker/autoware-openadk/Dockerfile b/docker/autoware-openadk/Dockerfile index 4d0cd0d31b0..0ee7ebfa0d2 100644 --- a/docker/autoware-openadk/Dockerfile +++ b/docker/autoware-openadk/Dockerfile @@ -88,7 +88,7 @@ RUN --mount=type=ssh \ # Build Autoware COPY --from=src-imported /autoware/src /autoware/src -RUN source /opt/ros/"$ROS_DISTRO"/setup.bash \ +RUN --mount=type=cache,target=/var/tmp/ccache source /opt/ros/"$ROS_DISTRO"/setup.bash \ && colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --cmake-args \ " -Wno-dev" \ " --no-warn-unused-cli" \