mirror of
https://github.com/docker/docs.git
synced 2026-03-28 23:08:49 +07:00
This adds support for Dockerfile commands to have options - e.g: COPY --user=john foo /tmp/ COPY --ignore-mtime foo /tmp/ Supports both booleans and strings. Signed-off-by: Doug Davis <dug@us.ibm.com>
11 lines
289 B
Plaintext
11 lines
289 B
Plaintext
(from "scratch")
|
|
(copy "foo" "/tmp/")
|
|
(copy ["--user=me"] "foo" "/tmp/")
|
|
(copy ["--doit=true"] "foo" "/tmp/")
|
|
(copy ["--user=me" "--doit=true"] "foo" "/tmp/")
|
|
(copy ["--doit=true"] "foo" "/tmp/")
|
|
(copy "foo" "/tmp/")
|
|
(cmd ["--doit"] "a" "b")
|
|
(cmd ["--doit=true"] "a" "b")
|
|
(cmd ["--doit"])
|