from
Method
interface DockerfileBuilder { // ... omitted for brevity from( image: string, stageName?: string): DockerfileStage;}Signature
method
fromAdds a FROM statement to start a Dockerfile stage
from( image: string, stageName?: string): DockerfileStageParameters
imagestringstageName stringoptionalReturns
DockerfileStage Applies to
This method applies to the following types: