fix(oci-build): install openssl-dev for the openssl-sys transitive dep #8

Merged
David merged 1 commit from fix/oci-build-openssl-deps into main 2026-05-07 01:34:00 +02:00
Owner

cargo build failed in the alpine builder with Could not find openssl via pkg-config. openssl-sys is pulled in transitively by webauthn-rs (used by meshcentral-auth and meshcentral-web), confirmed via cargo tree --invert openssl-sys. The earlier scan only checked direct deps and missed it.

Adds pkgconfig, openssl-dev, and openssl-libs-static to the builder stage. The musl target auto-selects static linking when only the static archive is present alongside the headers, so no OPENSSL_STATIC env override is needed. The runtime stage still gets just ca-certificates and tini since the binary is statically linked.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

cargo build failed in the alpine builder with `Could not find openssl via pkg-config`. openssl-sys is pulled in transitively by webauthn-rs (used by meshcentral-auth and meshcentral-web), confirmed via `cargo tree --invert openssl-sys`. The earlier scan only checked direct deps and missed it. Adds pkgconfig, openssl-dev, and openssl-libs-static to the builder stage. The musl target auto-selects static linking when only the static archive is present alongside the headers, so no OPENSSL_STATIC env override is needed. The runtime stage still gets just ca-certificates and tini since the binary is statically linked. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
fix(oci-build): install openssl-dev for the openssl-sys transitive dep
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
a39bdf7b2e
cargo build failed in the alpine builder with `Could not find openssl via pkg-config`. openssl-sys is pulled in transitively by webauthn-rs (used by meshcentral-auth and meshcentral-web), confirmed via `cargo tree --invert openssl-sys`. The earlier scan only checked direct deps and missed it.

Adds pkgconfig, openssl-dev, and openssl-libs-static to the builder stage. The musl target auto-selects static linking when only the static archive is present alongside the headers, so no OPENSSL_STATIC env override is needed. The runtime stage still gets just ca-certificates and tini since the binary is statically linked.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
David merged commit b817bfedc0 into main 2026-05-07 01:34:00 +02:00
David deleted branch fix/oci-build-openssl-deps 2026-05-07 01:34:00 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/vervain-server!8
No description provided.