summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-10 17:31:41 -0600
committermo khan <mo@mokhan.ca>2025-07-10 17:31:41 -0600
commit6721aaffa33894624c87a54f4ed10eccd3c080e5 (patch)
tree3cc32004dee9600014417d404dbe01ac0e1faca9 /Dockerfile
parent5ce1672508f446826000fc88ff7bbdfd6c402b9e (diff)
chore: use staticly linked library to build static binary
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 77d1db1e..c088574e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
# Build stage for authzd
FROM rust:alpine AS authzd-builder
-RUN apk add --no-cache musl-dev openssl-dev pkgconfig
+RUN apk add --no-cache musl-dev openssl-dev openssl-libs-static pkgconfig
WORKDIR /app
COPY . ./
RUN cargo build --bins --release --target x86_64-unknown-linux-musl --offline