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