aws / aws-codebuild-docker-images

Official AWS CodeBuild repository for managed Docker images http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html
Other
1.11k stars 973 forks source link

pass --platform into docker command #664

Open liuyangc3 opened 1 year ago

liuyangc3 commented 1 year ago

Issue #, if available:

Description of changes:

Allow user pass --platform into docker command

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Rogalek commented 10 months ago

@liuyangc3 is it working for you? will it allows me to run arm64 docker image on my amd64 machine?

liuyangc3 commented 10 months ago

@liuyangc3 is it working for you? will it allows me to run arm64 docker image on my amd64 machine?

yes works for me, but you need download the right image by yourself