/dhall-containerfile/Containerfile/workdir.dhall

Copy path to clipboard

A convenient function to create workdir

Examples

workdir "/tmp" === [ Statement.Workdir "/tmp" ]

Source

--| A convenient function to create workdir
let Statement = ./Statement.dhall

let workdir
: Text -> List Statement
= \(workdir : Text) -> [ Statement.Workdir workdir ]

let example0 = assert : workdir "/tmp" === [ Statement.Workdir "/tmp" ]

in workdir