DockerBuild - How it Works

JFrog Pipelines Documentation

JFrog Pipelines
Content Type
User Guide

When you use the DockerBuild native step in a pipeline, it performs the below functions in the background. For more information on DockerBuild Pipeline steps, see DockerBuild.

  • cp (if there is a FileSpec input, copy those files to the root of the cloned GitRepo input)

  • docker build

  • add_run_variables (add several variables that are later used when pushing the Docker image or publishing build info)

  • jfrog rt build-collect-env (collect environment information to be later published as part of build info)

  • add_run_files (save information collected for build info)