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

arm64 image support #183

Closed
zentavr opened this issue Oct 10, 2023 · 8 comments
Closed

arm64 image support #183

zentavr opened this issue Oct 10, 2023 · 8 comments

Comments

@zentavr
Copy link

zentavr commented Oct 10, 2023

Hello,

are there any plans to build arm64 images?

@okigan
Copy link
Owner

okigan commented Oct 10, 2023 via email

@zentavr
Copy link
Author

zentavr commented Oct 11, 2023

Unfortunately not, it does not work on AWS arm64 instances. We need to have arm64 base alpine image for that

@okigan
Copy link
Owner

okigan commented Oct 11, 2023 via email

@zentavr
Copy link
Author

zentavr commented Oct 11, 2023

I guess the issue is here:

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

We can have smth like this here:

      - name: Build and push
        uses: docker/build-push-action@v5
        with:
          context: .
          platforms: linux/amd64,linux/arm64
          push: true
          tags: user/app:latest

You can check here for more details: https://docs.docker.com/build/ci/github-actions/multi-platform/

@zentavr
Copy link
Author

zentavr commented Oct 11, 2023

@okigan works at my local macbook pro m2 (arm64). Testing with AWS cluster now.

@zentavr
Copy link
Author

zentavr commented Oct 11, 2023

@okigan works with AWS arm instances as well:

/ # which curl
/ # uname -a
Linux logstash-0 5.10.186-179.751.amzn2.aarch64 #1 SMP Tue Aug 1 20:51:46 UTC 2023 aarch64 Linux
/ # ps aux
PID   USER     TIME  COMMAND
    1 root      0:00 /bin/sleep infinity
   13 root      0:00 sh
   23 root      0:00 ps aux
/ # whoami
root

@okigan
Copy link
Owner

okigan commented Oct 11, 2023 via email

@okigan okigan closed this as completed Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants