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

Unable to build the sample Dockerfile with multi architecture #94

Open
avolcoff opened this issue Apr 27, 2022 · 0 comments
Open

Unable to build the sample Dockerfile with multi architecture #94

avolcoff opened this issue Apr 27, 2022 · 0 comments

Comments

@avolcoff
Copy link

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?

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

1 participant