Interface DockerConfig.DockerBuildxConfig

Enclosing interface:
DockerConfig

public static interface DockerConfig.DockerBuildxConfig
Configuration for Docker Buildx options. These are only relevant if using Docker Buildx (https://docs.docker.com/buildx/working-with-buildx/#build-multi-platform-images) to build multi-platform (or cross-platform) images. If any of these configurations are set, it will add buildx to the executableName.
  • Method Details

    • platform

      Optional<List<String>> platform()
      Which platform(s) to target during the build. See https://docs.docker.com/engine/reference/commandline/buildx_build/#platform
    • output

      Optional<String> output()
      Sets the export action for the build result. See https://docs.docker.com/engine/reference/commandline/buildx_build/#output. Note that any filesystem paths need to be absolute paths, not relative from where the command is executed from.
    • progress

      Optional<String> progress()
      Set type of progress output (auto, plain, tty). Use plain to show container output (default “auto”). See https://docs.docker.com/engine/reference/commandline/buildx_build/#progress
    • useBuildx

      default boolean useBuildx()