microsoft / azurelinux

Linux OS for Azure 1P services and edge appliances
MIT License
4.08k stars 497 forks source link

Image Customizer: Fix container build. #9542

Closed cwize1 closed 1 day ago

cwize1 commented 5 days ago

There is currently an issue where oras can't be downloaded when the container is being built because the container doesn't have the ca-certificates package installed. This problem could be fixed by adding ca-certificates to the list of packages installed. But instead, this change downloads oras binary outside of the Dockerfile. Doing it this way will help reduce the size of the container.


Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

Does this affect the toolchain?

NO

Test Methodology