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

Add aarch64 docker images #3330

Open
geoidesic opened this issue Mar 17, 2023 · 3 comments
Open

Add aarch64 docker images #3330

geoidesic opened this issue Mar 17, 2023 · 3 comments

Comments

@geoidesic
Copy link

Zotonic version

N/A

OS version

Mac OS 13.2.1

Description

  • Motivation
    The dockerised version of Zotonic does not run on new generation Macs because M1 chip is not Intel-based but rather ARM-based. It would be very useful to have a docker-compose-aarch64.yml config for running the docker images on M1 chip.
  • Proposal
    Create a docker tag for ARM

Current behavior

Does not run on new generation of Macs

Expected behavior

Should have an option to run on M1 chips. E.g. for mysql there is mysql/mysql-server:latest-aarch64

Config

N/A

@mworrell
Copy link
Member

mworrell commented Mar 17, 2023

Are there aarch64 images for Erlang? (I am still using Intel for macOS)

@mworrell mworrell added this to the 1.1 milestone Mar 17, 2023
@geoidesic
Copy link
Author

geoidesic commented Mar 17, 2023

Are there aarch64 images for Erlang? (I am still using Intel for macOS)

I believe the standard Erlang docker image offers multi-arch support as it is built on Debian which offers support for both architectures: https://hub.docker.com/_/erlang (q.v. Quick Reference section)

@mmzeeman
Copy link
Member

I have an M1 MacBook, but I'm not a Docker user. I use kerl to switch between Erlang versions. Zotonic is pretty low on external dependency requirements.

Kerl compiles to arm64 out of the box from R23 or 24 and up, depending on the arch setting of your terminal (see man arch). At the moment I'm testing the 26.0-rc1.

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

3 participants