Class DockerAncestorFingerprintFacet

    • Method Detail

      • getAncestorImageIds

        @NonNull
        public Set<String> getAncestorImageIds()
        Gets the ancestor image that this image was built from. In principle there could be several, in case distinct Dockerfiles used distinct FROM images, yet wound up producing the same result (because some corresponded to intermediate layers which were cached). This is unlikely but possible. The set may be empty in case you built a base image (FROM scratch), in which case there is no ID for the ancestor.
        Returns:
        a set of 64-digit IDs, typically a singleton