From 1e3ea7f71432c612cfe410b57f23bc6dbd341e4e Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Fri, 31 May 2024 16:37:59 +0900 Subject: [PATCH] cache ccache again Signed-off-by: Yutaka Kondo --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index f03b85fb083..9a914ac8283 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -101,7 +101,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ # Build Autoware COPY --from=src-imported /autoware/src /autoware/src -RUN --mount=type=cache,target=/var/tmp/ccache source /opt/ros/"$ROS_DISTRO"/setup.bash \ +RUN --mount=type=cache,target=${CCACHE_DIR} \ + source /opt/ros/"$ROS_DISTRO"/setup.bash \ && colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --cmake-args \ " -Wno-dev" \ " --no-warn-unused-cli" \