summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-02 18:51:53 -0600
committermo khan <mo@mokhan.ca>2025-07-02 18:51:53 -0600
commit22349f2dd5141bbb1247a4f374d39a9a091f0243 (patch)
tree25e193b519050eea472821f1d07e1013d4092d44 /Dockerfile
parentbcafdf918489485aca2b405109187e66f2e645d5 (diff)
parentb712cae8f34b0066dd2e86d1ddd64e9321cfc579 (diff)
Merge branch 'vendor' into 'main'
Vendor dependencies See merge request gitlab-org/software-supply-chain-security/authorization/authzd!2
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 744b4f3d..07f6f58a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ FROM rust:alpine AS builder
RUN apk add --no-cache musl-dev
WORKDIR /app
COPY . ./
-RUN cargo build --release --target x86_64-unknown-linux-musl
+RUN cargo build --release --target x86_64-unknown-linux-musl --offline
RUN strip /app/target/x86_64-unknown-linux-musl/release/authzd
FROM gcr.io/distroless/static-debian12:nonroot