aws-samples / amazon-cloudwatch-container-insights

CloudWatch Agent Dockerfile and K8s YAML templates for CloudWatch Container Insights.
MIT No Attribution
163 stars 107 forks source link

Unable to build the sample Dockerfile with multi architecture #94

Open avolcoff opened 2 years ago

avolcoff commented 2 years ago

using this sample: https://github.com/aws-samples/amazon-cloudwatch-container-insights/blob/master/cloudwatch-agent-dockerfile/Dockerfile

when building it with this command : docker buildx build --platform linux/amd64,linux/arm64/v8 .

I'm getting this error:

13 117.7 dpkg: error processing archive amazon-cloudwatch-agent.deb (--install):

13 117.7 package architecture (amd64) does not match system (arm64)

13 117.7 Errors were encountered while processing:

13 117.7 amazon-cloudwatch-agent.deb

Could you assist to resolve it?