Skip to content
Snippets Groups Projects
Commit caab74e2 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

sccache buster

parent 45a7c9da
No related branches found
No related tags found
No related merge requests found
Pipeline #19737 skipped
# syntax=docker/dockerfile:experimental
FROM memmos.laas.fr:5000/gepetto/buildfarm/ros:buster
COPY --from=memmos.laas.fr:5000/gepetto/buildfarm/tools:20.04 /sccache /usr/bin
COPY --from=memmos.laas.fr:5000/gepetto/buildfarm/tools:buster /sccache /usr/bin
ENV SCCACHE_REDIS=redis://asahi
RUN --mount=type=cache,sharing=locked,target=/var/cache/apt --mount=type=cache,sharing=locked,target=/var/lib/apt \
......
FROM debian:buster as build
RUN --mount=type=cache,sharing=locked,target=/var/cache/apt \
--mount=type=cache,sharing=locked,target=/var/lib/apt \
apt-get update -qqy && DEBIAN_FRONTEND=noninteractive apt-get install -qqy \
cargo \
libssl-dev \
pkg-config
RUN --mount=type=cache,sharing=locked,target=/root/.cargo/registry \
cargo install \
sccache
FROM debian:buster as final
COPY --from=build /root/.cargo/bin/sccache /
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment