mirror of
https://github.com/neondatabase/neon.git
synced 2026-07-08 22:50:37 +00:00
Set SCCACHE_IGNORE_SERVER_IO_ERROR=1
This commit is contained in:
@@ -31,7 +31,6 @@ ARG BUILD_TAG
|
||||
|
||||
# Enable https://github.com/mozilla/sccache to cache Rust crates' compilation results in Docker builds.
|
||||
# Set up sccache to use an AWS S3 bucket for cache results, to reuse it between `docker build` invocations.
|
||||
# sccache falls back to local filesystem if S3 is misconfigured, not failing the build
|
||||
ARG RUSTC_WRAPPER=sccache
|
||||
ARG SCCACHE_REGION=eu-central-1
|
||||
ARG SCCACHE_S3_KEY_PREFIX=sccache
|
||||
|
||||
@@ -193,6 +193,8 @@ RUN curl -sSO https://static.rust-lang.org/rustup/dist/$(uname -m)-unknown-linux
|
||||
rm -rf /home/nonroot/.cargo/registry && \
|
||||
rm -rf /home/nonroot/.cargo/git
|
||||
ENV RUSTC_WRAPPER=sccache
|
||||
# Let sscache to fall back to local filesystem if S3 is misconfigured, not failing the build
|
||||
ENV SCCACHE_IGNORE_SERVER_IO_ERROR=1
|
||||
|
||||
# Show versions
|
||||
RUN whoami \
|
||||
|
||||
Reference in New Issue
Block a user