add sccache
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 32m36s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 32m36s
This commit is contained in:
parent
06c647d4ca
commit
3d1e213798
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,11 @@ FROM rust:1.86.0 as build
|
||||||
|
|
||||||
ENV PKG_CONFIG_ALLOW_CROSS=1
|
ENV PKG_CONFIG_ALLOW_CROSS=1
|
||||||
|
|
||||||
|
ENV SCCACHE_DIR=/build-cache
|
||||||
|
ENV RUSTC_WRAPPER=sccache
|
||||||
|
|
||||||
|
RUN apt update && apt install sccache
|
||||||
|
|
||||||
WORKDIR .
|
WORKDIR .
|
||||||
COPY ./api ./api
|
COPY ./api ./api
|
||||||
COPY ./libseptastic/ ./libseptastic/
|
COPY ./libseptastic/ ./libseptastic/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue