From 6721aaffa33894624c87a54f4ed10eccd3c080e5 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 10 Jul 2025 17:31:41 -0600 Subject: chore: use staticly linked library to build static binary --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3