This operation builds an image from a docker file. It will not create or start a container.
...
Property Name | Property Code | Required | Description |
---|---|---|---|
Docker Server Address | FDDKR_DOCKER_SERVER | No | The IP address of the Docker server. Required if Docker Unix Socker is not set. |
Docker Port | FDDKR_DOCKER_PORT | No | The port the Docker service is listening on. Required if Docker Unix Socker is not set. |
Docker Unix Socket | FDDKR_UNIX_SOCKET | No | The socket the Docker daemon listens on. Required if Docker Server and Docker Port are not set. |
...
Input Name | Input Code | Required | Description |
---|---|---|---|
Docker File | FDDKR_INP_DOCKER_FILE | YesNo | The path to the Docker File to build. If empty Dockerfile is used as the name, and it is searched as specified in the next line. If an absolute path is given, it is used. Otherwise the file is checked for relative to the FD_TEMP_DIR and any checkout folders. |
Docker File Arguments | FDDKR_INP_DOCKER_FILE_ARGS | No | The docker file arguments to use. These are the ARG instructions in the docker file. KeyValue pairs should be separated by "|" and the key and value should be separated by ",". Example: key1,value|key2,value|key3,value |
Docker Repository | FDDKR_INP_REPOSITORY | No | The image name/repository to create the image in. This is the REPOSITORY column when running the command 'docker images'. |
Image Tag | FDDKR_INP_IMAGE_TAG | No | The tag to apply to the image. Example: 'latest'. |
...
Output Name | Required | Description |
---|---|---|
FDDKR_OUT_IMAGE_ID | No | The image id that was created from the operation. The IMAGE_ID column when running the command 'docker images'. |
Artifacts
This operation doesn’t consume or produce any artifacts.consumes a Dockerfile from the artifacts repository. Can also be overridden through the docker file input.
Endpoint Selection
This operation delegates the selection to the workflow developer to determine.
...
The 'Docker Repository' input is not required to build the image but in order to make use of other docker functionality, like pushing to a registry, you need to specify a repository. If forget you forgot to specify a repository on build you can tag the image from the command line later on and then push to a repositoryat any point.
docker tag %ImageId% %RepoName%:%tagName%
...