-
Notifications
You must be signed in to change notification settings - Fork 61
Description
Image Builder doesn't currently support a Dockerfile being configured as "local-only" (meaning the manifest defines all of its tags as isLocal = true). Attempting to do so leads to this issue: dotnet/dotnet-buildtools-prereqs-docker#832 (comment)
An image defined this way would be built locally and could be referenced by other Dockerfiles but the built image wouldn't be published.
Such a Dockerfile can be useful to define shared state that is needed by derived images that do get published or as a common "builder" image. This is the case in the https://github.com/dotnet/dotnet-buildtools-prereqs-docker repo with the Mariner crossdeps-builder Dockerfile. Its used as builder image for several derived Dockerfiles in order to produce those images. But since it's a builder image, it doesn't actually need to be published itself. Because of this limitation in the infrastructure, it needed to be defined with actual tags which forces it to be published (e.g. https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/4485000b802f82a8bbc4222f5c4e37546e3855e2/src/cbl-mariner/manifest.json#L68-L69).
Metadata
Metadata
Assignees
Type
Projects
Status