dotnet-docker icon indicating copy to clipboard operation
dotnet-docker copied to clipboard

Consider creating a `docker buildx build` test

Open richlander opened this issue 2 years ago • 2 comments

We're updating the samples to be fully multi-platform friendly. It would be good to have a test that validates that, along the lines of the following. It would be most relevant if we could run it on both x64 and Arm64 machines.

docker buildx build --platform arm,arm64,amd64 -t foo .

Related to #4742

richlander avatar Jul 11 '23 22:07 richlander

In newer versions of Docker (including the one in alpine3.18 and our ImageBuilder image), docker build is aliased to docker buildx build [source]. I assume the intent of this issue is that we test the cross-platform build functionality of buildx against some of our samples.

lbussell avatar Sep 20 '23 16:09 lbussell

In newer versions of Docker (including the one in alpine3.18 and our ImageBuilder image), docker build is aliased to docker buildx build [source]. I assume the intent of this issue is that we test the cross-platform build functionality of buildx against some of our samples.

Adding on to this, we should make sure we test both framework-dependent and AOT cross compilation.

lbussell avatar Sep 26 '23 16:09 lbussell