Package org.openrewrite.docker.trait
package org.openrewrite.docker.trait
-
ClassDescriptionA trait representing the image reference carried by the
--fromflag of aCOPYorADDinstruction.Matcher forDockerCopyFromtraits with builder-style configuration.A trait representing a Docker base image from a FROM instruction.Matcher for DockerImage traits with builder-style configuration.DockerImageReference<T extends Docker.Instruction>A trait representing an image reference anywhere in a Dockerfile: the base image of aFROMinstruction (seeDockerFrom) or the image carried by the--fromflag of aCOPY/ADDinstruction (seeDockerCopyFrom).Matcher that finds image references inFROM,COPY --from, andADD --fromalike, yielding the sharedDockerImageReferencecontract.Reasons why an image may be considered unpinned.