Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ARM64 based CPU #2793

Open
amplitudesxd opened this issue Feb 7, 2024 · 5 comments
Open

Support ARM64 based CPU #2793

amplitudesxd opened this issue Feb 7, 2024 · 5 comments

Comments

@amplitudesxd
Copy link

amplitudesxd commented Feb 7, 2024

Describe the bug

As there isn't a build for ARM64 based CPUs, Postal cannot run on them and errors with "exec user process caused: exec format error".

To Reproduce

  1. Use an ARM64-based server (Raspberry Pi, Hetzner Cloud ARM server, etc.)
  2. Attempt to create a container with the Postal docker image
  3. Observe error

Expected behaviour

I expect Postal to work on ARM, while ARM architecture wasn't used as much in servers previously, it's becoming increasingly popular with many dedicated/cloud server providers offering them.

Additional information/context

I've created a PR to add ARM builds in #2770.

@adamcooke adamcooke added enhancement and removed bug labels Feb 8, 2024
@adamcooke adamcooke changed the title Postal doesn't work on ARM64 based CPUs Support ARM64 based CPU Feb 8, 2024
@phillmorgan28
Copy link

phillmorgan28 commented Mar 6, 2024

@adamcooke Support appears to be broken
Error whilst pulling v3 images during postal initialize - no matching manifest for linux/arm64/v8 in the manifest list entries

@adamcooke
Copy link
Contributor

This is intentional. Unfortunately it takes 20+ minutes to build for ARM. Until we can speed this up, ARM images are not built.

@willpower232
Copy link
Collaborator

willpower232 commented Mar 6, 2024

We have had this problem too (building ARM images on GitHub), hopefully the ARM runners are available soon https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/

@adamcooke
Copy link
Contributor

We have a ARM server right here. We just need to set it up to run some self hosted runners.

image

@amplitudesxd amplitudesxd reopened this Mar 6, 2024
@adamcooke
Copy link
Contributor

adamcooke commented Mar 16, 2024

image

Some progress is being made here. Specifically we can build the image on ARM and AMD64 in just over 2 minutes which is better than over 20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants