Use of library
repo in base image name results in digest diff
#1363
Labels
library
repo in base image name results in digest diff
#1363
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 #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.The text was updated successfully, but these errors were encountered: