Open mthalman opened 1 month ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
From the buildtools-prereqs repo, run this command:
.\build.ps1 -DockerfilePath "*almalinux/8/source-build/amd64*"
. It results in the following exception:This happens because of the use of the
library
repo in the Dockerfile's base image name which was done in order to work around https://github.com/dotnet/docker-tools/issues/1341. The logic in Image Builder uses that image name to get the digest of the locally pulled image, but the output of that command haslibrary/
stripped from the name:This leads to a diff with the expected digest (e.g.
library/almalinux@sha256:e87da8566de5f0a10e0e6acdb7ca43da4ef97a114130691d7dd737d6923c863d
), resulting in the exception being thrown.