-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update agent ARM32/64 images to use Alpine (#6264)
Our amd64 .NET-based Docker images have always used Alpine. I _think_ our arm64 .NET images may have been Alpine to start but moved to Ubuntu to work around some temporary issue. And our arm32 images were always Ubuntu-based because .NET Core 3.1 images for arm32v7 didn't come in Alpine. Now that our codebase has upgraded to .NET 6, we want to use Alpine in all our .NET images for the reduced size and smaller attack surface. This change moves all our .NET images to Alpine. In many cases, the Dockerfiles for the different architectures are identical, or nearly so. We have an opportunity to consolidate in the future, but I didn't take that step here to keep things focused. Regarding the Edge Hub module: rather than updating the scripts to build watchdog and broker for Alpine, I have removed watchdog and broker from the module. They are preview components that are being removed from the main branch of the product. See the note [here](https://docs.microsoft.com/en-us/azure/iot-edge/how-to-publish-subscribe?view=iotedge-2020-11). This change also cherry-picks a131745 to run Arm64 end-to-end tests on a 1ES-hosted agent instead of Raspberry Pi. To test, I ran the Build Images pipeline, then passed the results to the End-to-end and Connectivity test pipelines, and verified the tests passed on amd64, arm32v7, and arm64v8.
- Loading branch information
1 parent
bb844b5
commit 059aaea
Showing
86 changed files
with
500 additions
and
1,726 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.