mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #79] MultiArch ARM64 Support #33
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#33
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?
Originally created by @xavier83 on GitHub (Nov 17, 2021).
Original GitHub issue: https://github.com/lldap/lldap/issues/79
Would be great if the container images support MultiArch/ARM64 for running on arm64 embedded hardware like raspberry pi or arm64 based cloud instances.
@nitnelave commented on GitHub (Nov 18, 2021):
Damn, I'm working on it but it's surprisingly difficult! Right now I'm hitting issues with musl versions for the time library (undefined reference to
__time64& co). Something along these lines, maybe? https://stackoverflow.com/questions/61934997/undefined-reference-to-stat-time64-when-cross-compiling-rust-project-on-mu@nitnelave commented on GitHub (Nov 19, 2021):
@xavier83 Would you be okay with a non-dockerized version? Basically just the binary + compiled WASM, drop it anywhere and run it from there. That seems to be much easier to do than a docker image (although I guess you could also have a docker-in-docker to get
crossto compile it?).@nitnelave commented on GitHub (Nov 20, 2021):
I'll see whether I do pre-compiled binary releases, but I'll anyway add instructions for cross-compiling to the README
@nitnelave commented on GitHub (Nov 20, 2021):
Here are the cross-compile instructions, on the "mail" branch: https://github.com/nitnelave/lldap/tree/mail
They'll get merged into main when I merge the branch, and I'll probably do a release at that point with some precompiled binaries.
@martadinata666 commented on GitHub (Jun 28, 2022):
Sorry for bumping this as i interested in this, are we must going to musl ? i mean building via glibc prove to be faster and easier, yes it lost the
portabilitything because musl build isstatic, but i think it doesn't really worth to pursue.@nitnelave commented on GitHub (Jun 28, 2022):
So, with each release I provide a pre-compiled ARM binary that you can download. I don't provide a docker image because I couldn't figure out how to cross-compile inside docker, but I put instructions in the README on how to cross-compile it yourself, it's fairly straightforward.
@martadinata666 commented on GitHub (Jun 28, 2022):
I see, let me put a PR about this build then we can talk there. 👍🏼
@yamsu commented on GitHub (Jul 7, 2022):
Unable to run the docker image on an Arm64 ubuntu 20.04 host. Using the example docker-compose.yml. I get the following error:
The same config, on an x86 ubuntu 20.04 host, works without trouble.
@martadinata666 commented on GitHub (Jul 7, 2022):
Currently only
:latesttag support arm64 and armv7, as this is still testing purpose, please open issue or join discord if the lldap got issues.@yamsu commented on GitHub (Jul 12, 2022):
nitnelave/lldap:latestworks on arm64, Thanksupdated docker-compose.yml accordingly
@nitnelave commented on GitHub (Jul 12, 2022):
You can even use
:stablenow, there was a release!