Skip to content

Commit

Permalink
sharing=locked
Browse files Browse the repository at this point in the history
Signed-off-by: Yutaka Kondo <[email protected]>
  • Loading branch information
youtalk committed Jun 7, 2024
1 parent bd93a64 commit 2ce54fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ RUN --mount=type=ssh \
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* "$HOME"/.cache

# Install sccache

Check warning on line 86 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (sccache)
RUN wget https://github.com/mozilla/sccache/releases/download/v0.8.1/sccache-dist-v0.8.1-x86_64-unknown-linux-musl.tar.gz
RUN tar -xvf sccache-dist-v0.8.1-x86_64-unknown-linux-musl.tar.gz
RUN mv sccache-dist-v0.8.1-x86_64-unknown-linux-musl/sccache-dist /usr/local/bin/sccache
RUN rm -rf sccache-dist-v0.8.1-x86_64-unknown-linux-musl.tar.gz sccache-dist-v0.8.1-x86_64-unknown-linux-musl
RUN wget https://github.com/mozilla/sccache/releases/download/v0.8.1/sccache-dist-v0.8.1-x86_64-unknown-linux-musl.tar.gz \
&& tar -xvf sccache-dist-v0.8.1-x86_64-unknown-linux-musl.tar.gz && \

Check warning on line 88 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (sccache)
&& mv sccache-dist-v0.8.1-x86_64-unknown-linux-musl/sccache-dist /usr/local/bin/sccache && \

Check warning on line 89 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (sccache)

Check warning on line 89 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (sccache)

Check warning on line 89 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (sccache)
&& rm -rf sccache-dist-v0.8.1-x86_64-unknown-linux-musl.tar.gz sccache-dist-v0.8.1-x86_64-unknown-linux-musl

# Build Autoware
COPY --from=src-imported /autoware/src /autoware/src
RUN --mount=type=cache,target=/root/.cache/sccache \
RUN --mount=type=cache,target=/root/.cache/sccache,sharing=locked \
ls /root/.cache/sccache && du -sh /root/.cache/sccache \
&& source /opt/ros/"$ROS_DISTRO"/setup.bash \
&& colcon build --cmake-args \
Expand Down

0 comments on commit 2ce54fe

Please sign in to comment.