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
Correctly specify platform and architecture for arm32 images #739
Conversation
| @@ -22,5 +22,5 @@ | |||
| "EndOfLife": "2023-04-02", | |||
| "DistributionState": "Validated", | |||
| "UseInCi": false, | |||
| "Architecture": "arm64" | |||
| "Architecture": "arm32" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is more correctly, the host architecture and we don't have an ARM32 host.
We either need to translate this to ARM64 when choosing a host or add another field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I made the changes to make this work for CI and image build, test and release.
| @@ -1,7 +1,7 @@ | |||
| # Copyright (c) Microsoft Corporation. | |||
| # Licensed under the MIT License. | |||
|
|
|||
| FROM --platform=linux/arm/v7 ubuntu:bionic AS installer-env | |||
| FROM --platform=linux/arm32v7 ubuntu:bionic AS installer-env | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the original was correct.
PR Summary
This PR fixes arm32 images that have "arm64" specified for their architecture property in meta.json and also specifies the platform for the arm32 images.
PR Checklist
Dockerfile,.sh,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.