Skip to content

Commit

Permalink
feat(docker): cache ccache to the Docker build cache (autowarefound…
Browse files Browse the repository at this point in the history
  • Loading branch information
youtalk authored May 27, 2024
1 parent ab8bbf5 commit 491d282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/autoware-openadk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 491d282

Please sign in to comment.