Repository navigation
Add libssl-dev for host platform builds - #98
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues with the addition of OpenSSL development files to the Debian image.
No open issues 🎉
What changed in this PR
Adds OpenSSL development files to the Debian image so host-platform configurations using ota, http_request, or sha256 can compile in Docker and the Device Builder add-on.
Changes:
- Adds pinned dependency
libssl-dev=3.5.7-1~deb13u3to provide the required OpenSSL headers and development libraries.
| File | Description |
|---|---|
debian/Dockerfile |
Installs OpenSSL development files for host-platform builds. |
Review effort: Balanced
3 of 19 tasks
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.
Anyone compiling a
host:config in the Docker image or the Device Builder add-on hits this as soon as the config hasota:,http_request:orsha256::Those components use OpenSSL on the host platform and link with
-lcrypto, but only the runtime library ships in the image, so the compiler can't find the headers. Having the headers in the base image lets host builds work in the add-on the same way they do on a workstation, including OTA updates to a host binary on another machine.The runtime
libssl3t64is already pulled in by Python, so this adds the headers and static libraries only, about 16 MB installed.