fix ca issues

This commit is contained in:
Maple 2026-03-28 23:17:03 +01:00
commit b6b0628836

View file

@ -15,8 +15,9 @@ ENV SQLX_OFFLINE=true
RUN OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl OPENSSL_STATIC=1 RUSTFLAGS="-C target-feature=+aes,+sse -C relocation-model=static -C linker=ld.lld" cargo build --release --target x86_64-unknown-linux-musl
FROM scratch AS final
FROM alpine:latest AS final
RUN apk add --no-cache ca-certificates
RUN update-ca-certificates
WORKDIR /
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/rboss /rboss