Skip to content

Commit

Permalink
add --mount=type=cache
Browse files Browse the repository at this point in the history
  • Loading branch information
youtalk committed May 21, 2024
1 parent c96f5ad commit 204c268
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 @@ -98,7 +98,7 @@ RUN --mount=type=ssh \
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* "$HOME"/.cache

# Build Autoware
RUN source /opt/ros/"$ROS_DISTRO"/setup.bash \
RUN --mount=type=cache,type=/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 204c268

Please sign in to comment.