mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #568] Publish Docker images for ARM architecture #413
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#413
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 @ngosang on GitHub (Oct 11, 2021).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/568
Publish Docker images for ARM architecture in https://hub.docker.com/r/healthchecks/healthchecks/tags
GitHub Actions example => https://github.com/ngosang/urbackup-exporter/blob/master/.github/workflows/release-docker.yml#L103
@cuu508 commented on GitHub (Oct 12, 2021):
Building cryptography on arm/v7 throws an error, not sure how to fix it:
https://github.com/healthchecks/healthchecks/runs/3866973629?check_suite_focus=true#step:7:3563
I can also reproduce the problem locally:
It produces the same error message:
@ngosang commented on GitHub (Oct 12, 2021):
@cuu508 take a look here, they are skipping that dependency with an environment variable => https://github.com/linuxserver/docker-healthchecks/blob/master/Dockerfile.aarch64
Since linuxserver provides Docker images for AMD64, ARM and ARM64 it is possible to archive.
@cuu508 commented on GitHub (Oct 12, 2021):
Unfortunately
CRYPTOGRAPHY_DONT_BUILD_RUSTdoes not work any more with cryptography >= 35.0.0, see #565@ngosang commented on GitHub (Oct 12, 2021):
They are publishing latest release (1.22.0) for ARM using the Dockerfile from my previous comment.
https://hub.docker.com/r/linuxserver/healthchecks/tags
Those images are working fine.
@cuu508 commented on GitHub (Oct 12, 2021):
They install dependencies like so:
If you look at https://wheel-index.linuxserver.io/alpine/, it has a prebuilt wheel for cryptography==35.0.0, armv7l. I guess that's how they get around building it from source and hitting the rust issue.
@cuu508 commented on GitHub (Oct 12, 2021):
Found issues with people hitting the same error: https://github.com/pyca/cryptography/issues/6347 and https://github.com/docker/buildx/issues/395#issuecomment-777034436
@cuu508 commented on GitHub (Oct 13, 2021):
To work around the cryptography-rust-buildx-qemu issue I updated the Dockerfile to use piwheels.org repo (but only when the architecture is
armhf):github.com/healthchecks/healthchecks@1b0f5e92f1I released v1.23.1 with these changes. Three architectures are now available on Docker Hub
linux/amd64,linux/arm/v7andlinux/arm64. I have tested the first two and they seem to nominally work.@ngosang commented on GitHub (Oct 13, 2021):
@cuu508 Thank you, that was fast!
I'm still using the Linuxserver Docker image in production because is critical for me, but I will use the official Docker image eventually. I will report any issue then.