-
Notifications
You must be signed in to change notification settings - Fork 241
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
Docker Image support for ARM64 #536
Comments
Using "docker buildx build -t |
The Dockerfile under cmd is for building from source. You can build the binary for amd64 and arm64 directly using go's cross compile and build the docker image (using a different Dockerfile). #494 (comment) also mentioned it a bit. |
@pingleig it seems in your docker for amazon cloud watch agent you curl the deb. You do not build locally. https://github.com/aws/amazon-cloudwatch-agent/blob/master/amazon-cloudwatch-container-insights/cloudwatch-agent-dockerfile/Dockerfile please confirm or deny. |
@sethAmazon https://github.com/aws/amazon-cloudwatch-agent/tree/master/amazon-cloudwatch-container-insights/cloudwatch-agent-dockerfile#cloudwatch-agent-dockerfiles it has more than one dockerfile, |
@pingleig Can we go ahead and add building and release the arm64 image with next collector release? |
@anuraaga To be honest I don't think we can make it for next release (if it's around end of this month). I think @sethAmazon has other tasks and we don't have integration test in our test framework yet. We only test arm binary and didn't test arm container image. The tricky part is in releasing, we are not using docker build actions. We dump docker image as tar to private s3, then in a different release action, load the tar to push to ECR and Dockerhub. |
@pingleig @anuraaga please sync up with me before adding this support. I'd like to see a design and maintenance proposal. Thanks! cc: @ntyrewalla |
I see - I have a feeling the release will be pushed back a bit so if that can help, it would be good to prioritize. Arm64 support is very important for AWS as a whole. XRay daemon workflow / Dockerfile is here maybe can copy paste something. Ideally you can build the image in an action but if not, the actions workflow logs show what buildx commands are run so maybe they can help for copy pasting. |
I have successfully created a sample commit of how this could work. I will be manually testing this on ecs today. After I will see about integration tests for this issue as well as talk to @alolita about maintenance of this feature. |
How I tested
|
@sethAmazon ping me on our internal Slack or Chime. I can share with you my implementation and we can evaluate it... |
With Fargate now supporting ARM64, I expect the demand to have ARM64 support will be critical for this image. We should help landing this if any help is needed. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
As an update, we've been working on adding ARM64 support lately and should have it ready soon. Thanks for the patience. |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
ARCH=x86_64
this is a huge limitation and frustrating when working with ARM64 for workload like Graviton 2 or RaspberryDescribe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Make
file to generate docker image for ARM64 so we can build our Graviton 2 IKS workload. But, it would be great with the public Docker Hub or ECR Galery to add the ARM64 Docker image supportAdditional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: