okigan / awscurl

curl-like access to AWS resources with AWS Signature Version 4 request signing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arm64 image support

zentavr opened this issue · comments

Hello,

are there any plans to build arm64 images?

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

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/

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

@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