DockerBuildRequest.withSourceLocation(String sourceLocation) Method

Definition

Set the URL(absolute or relative) of the source context. It can be an URL to a tar or git repoistory. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.

public DockerBuildRequest withSourceLocation(String sourceLocation)

Parameters

sourceLocation
java.lang.String

the sourceLocation value to set

Returns

the DockerBuildRequest object itself.

Applies to