fix(oci-build): install openssl-dev for the openssl-sys transitive dep #8
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/oci-build-openssl-deps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 viacargo 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