Skip to content

Commit 491d282

Browse files
authored
feat(docker): cache ccache to the Docker build cache (#4772)
1 parent ab8bbf5 commit 491d282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/autoware-openadk/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RUN --mount=type=ssh \
8888

8989
# Build Autoware
9090
COPY --from=src-imported /autoware/src /autoware/src
91-
RUN source /opt/ros/"$ROS_DISTRO"/setup.bash \
91+
RUN --mount=type=cache,target=/var/tmp/ccache source /opt/ros/"$ROS_DISTRO"/setup.bash \
9292
&& colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --cmake-args \
9393
" -Wno-dev" \
9494
" --no-warn-unused-cli" \

0 commit comments

Comments
 (0)