Musl docker images #912
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/MSC
Matrix/Media
Meta
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: continuwuation/continuwuity#912
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
So continuwuity historically provided static binaries built using Nix. Unfortunately due to changes in the build, that no longer works for cross compilation - and the team doesn't have the Nix knowledge to maintain it. Instead we want to build the binary using docker, building on our existing dynamic binary pipeline.
We want to build statically linked musl binaries. For that we need the static version of at least liburing built against musl, possibly some other stuff. Debian doesn't provide this. I've tried running a build process on alpine - unfortunately something in the build of our process needs to dynamically link stuff that doesn't work on alpine.
So what needs to happen is you need to update the main debian build image to switch between glibc and musl binaries - when building for glibc, do the process we already have in place. When building for musl, copy the libraries from an alpine container and configure package config to find the system dependencies there
See also:
#911
#740