Skip to content

Rewrite Dockerfile for arm32 Linux samples#1006

Merged
mthalman merged 5 commits into
masterfrom
samplesbuildfix
Mar 21, 2019
Merged

Rewrite Dockerfile for arm32 Linux samples#1006
mthalman merged 5 commits into
masterfrom
samplesbuildfix

Conversation

@mthalman
Copy link
Copy Markdown
Member

The samples build is failing for arm32 Linux leg because the build agents have an architecture of aarch64 and the multi-arch manifest description doesn't have a matching architecture for the 2.2 SDK and runtime images that we reference. To fix this, we eventually want to make use of the --platform option on the Docker CLI to explicitly set what platform we want to get but that's only available in experimental mode. To workaround this, we are going to modify the Dockerfile dynamically so it uses the platform-specific tag for the image instead of the 2.2 flag.

@mthalman mthalman requested a review from MichaelSimons March 21, 2019 17:04
Comment thread .vsts-pipelines/jobs/build-images.yml Outdated
Comment thread .vsts-pipelines/jobs/build-images.yml Outdated
Comment thread .vsts-pipelines/jobs/build-images.yml Outdated
Copy link
Copy Markdown
Member

@MichaelSimons MichaelSimons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread .vsts-pipelines/jobs/build-images.yml
@mthalman mthalman merged commit 7e4359d into master Mar 21, 2019
@mthalman mthalman deleted the samplesbuildfix branch March 21, 2019 20:54
MichaelSimons pushed a commit to MichaelSimons/dotnet-docker that referenced this pull request Mar 28, 2019
The samples build is failing for arm32 Linux leg because the build agents have an architecture of aarch64 and the multi-arch manifest description doesn't have a matching architecture for the 2.2 SDK and runtime images that we reference. To fix this, we eventually want to make use of the --platform option on the Docker CLI to explicitly set what platform we want to get but that's only available in experimental mode. To workaround this, we are going to modify the Dockerfile dynamically so it uses the platform-specific tag for the image instead of the 2.2 flag.
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

Successfully merging this pull request may close these issues.

2 participants