fix: add perl and make to Dockerfile builder stage for openssl-sys#952
Open
JiayuuWang wants to merge 1 commit intoRightNow-AI:mainfrom
Open
fix: add perl and make to Dockerfile builder stage for openssl-sys#952JiayuuWang wants to merge 1 commit intoRightNow-AI:mainfrom
JiayuuWang wants to merge 1 commit intoRightNow-AI:mainfrom
Conversation
t4min0
added a commit
to t4min0/openfang
that referenced
this pull request
Apr 2, 2026
Since v0.5.4, native-tls uses features = ["vendored"], which compiles OpenSSL from source via openssl-sys. This requires perl for the OpenSSL Configure script, but perl was missing from the flake's buildInputs. Mirrors the Dockerfile fix in RightNow-AI#952. Fixes RightNow-AI#894.
This was referenced Apr 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #950.
The
openssl-syscrate vendors OpenSSL and compiles it from source when a suitable system OpenSSL is not found. The vendored build requiresperl(for OpenSSL'sConfigurescript) andmake. Neither is present in therust:1-slim-bookwormbase image used for the builder stage, causing builds to fail with:Change
Add
perlandmaketo the builder stage'sapt-get installline:This unblocks anyone trying to build from source on a fresh host, which is currently the only working install path since the GHCR image is not publicly accessible (see #894).