runWithMounts
Method
interface DockerfileStage { // ... omitted for brevity runWithMounts( command: string, mounts: string[]): DockerfileStage;}Signature
method
runWithMountsAdds a RUN statement with mounts to a Dockerfile stage
runWithMounts( command: string, mounts: string[]): DockerfileStageParameters
commandstringmountsstring[]Returns
DockerfileStageApplies to
This method applies to the following types: