From 25028ffcf8ad5ad70168c0fbbd498fdfd0d8db1c Mon Sep 17 00:00:00 2001 From: Jakub Janowski Date: Tue, 26 Nov 2024 14:39:46 +0200 Subject: [PATCH] Skip llt-secrets check in builder images --- builders/build-android-rust/Dockerfile | 3 +++ builders/build-linux-rust/Dockerfile | 5 ++++- builders/build-windows-rust/Dockerfile | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/builders/build-android-rust/Dockerfile b/builders/build-android-rust/Dockerfile index 37fe6f5..b6d1307 100644 --- a/builders/build-android-rust/Dockerfile +++ b/builders/build-android-rust/Dockerfile @@ -54,3 +54,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ # Install `sccache` RUN cargo install sccache --version 0.4.2 + +# Skip llt-secrets check when building in builder images +ENV BYPASS_LLT_SECRETS=1 diff --git a/builders/build-linux-rust/Dockerfile b/builders/build-linux-rust/Dockerfile index 334e17a..0863cf7 100644 --- a/builders/build-linux-rust/Dockerfile +++ b/builders/build-linux-rust/Dockerfile @@ -80,4 +80,7 @@ RUN set -eux; \ /var/lib/apt/lists/* \ /var/cache/apt/* /var/log/* \ /usr/share/doc/ \ - /usr/share/man/ \ No newline at end of file + /usr/share/man/ + +# Skip llt-secrets check when building in builder images +ENV BYPASS_LLT_SECRETS=1 diff --git a/builders/build-windows-rust/Dockerfile b/builders/build-windows-rust/Dockerfile index 60ad50f..7521914 100644 --- a/builders/build-windows-rust/Dockerfile +++ b/builders/build-windows-rust/Dockerfile @@ -34,3 +34,6 @@ RUN wget -q https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz; \ # Install `sccache` RUN cargo install sccache --version 0.4.2 && rm -rf /usr/local/cargo/registry + +# Skip llt-secrets check when building in builder images +ENV BYPASS_LLT_SECRETS=1