mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
1314e1586f
still supports the old form: ENV name value Also, fixed an issue with the parser where it would ignore lines at the end of the Dockerfile that ended with \ Closes #2333 Signed-off-by: Doug Davis <dug@us.ibm.com>
10 lines
420 B
Text
10 lines
420 B
Text
(from "ubuntu")
|
|
(env "name" "value")
|
|
(env "name" "value")
|
|
(env "name" "value" "name2" "value2")
|
|
(env "name" "value value1")
|
|
(env "name" "value value2")
|
|
(env "name" "value'quote space'value2")
|
|
(env "name" "value\"double quote\"value2")
|
|
(env "name" "value value2" "name2" "value2 value3")
|
|
(env "name" "value" "name1" "value1" "name2" "value2a value2b" "name3" "value3an\"value3b\"" "name4" "value4a\\nvalue4b")
|