Package org.openrewrite.docker.tree
@NullMarked
package org.openrewrite.docker.tree
-
ClassDescriptionRepresents a comment in a Dockerfile.ADD instruction - adds files from source to destination (can extract archives and fetch URLs)ARG instruction - defines a build argumentAn argument which can be plain text, quoted string, or environment variableContent within an argument (text, quoted string, or variable reference)CMD instruction - provides defaults for executing containerBase for command forms (used by RUN, CMD, ENTRYPOINT)COPY instruction - copies files from source to destinationBase for COPY/ADD forms (shell form, exec form, or heredoc)Shell form for COPY/ADD instructions: sources followed by destination.ENTRYPOINT instruction - configures container to run as executableENV instruction - sets environment variablesEnvironment variable reference like $VAR or ${VAR}Exec form: CMD ["executable", "param1", "param2"] Also used for COPY/ADD JSON array form.EXPOSE instruction - documents ports that the container listens onRoot node representing a complete Dockerfile or ContainerfileA flag like --platform=linux/amd64FROM instruction - sets the base imageHEALTHCHECK instruction - tells Docker how to test container healthRepresents a single heredoc body within a heredoc command.Unified heredoc form supporting both single and multiple heredocs.Base interface for all Dockerfile instructionsLABEL instruction - adds metadata to an imageA literal text value, either plain (unquoted) or quoted (single/double quotes).MAINTAINER instruction - sets the author field (deprecated but still supported)ONBUILD instruction - prefixes another instruction to be executed laterA port specification in an EXPOSE instruction.RUN instruction - executes commandsSHELL instruction - sets the default shellShell form: CMD command param1 param2A build stage in a multi-stage Dockerfile.STOPSIGNAL instruction - sets the signal to stop the containerUSER instruction - sets the user and optionally groupVOLUME instruction - creates a mount pointWORKDIR instruction - sets the working directoryWhitespace and comments in Dockerfile.