forked from HewlettPackard/dockerfile-parser-rs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.test
65 lines (49 loc) · 804 Bytes
/
Dockerfile.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# foo
arg foo
from foo:443/bar
from localhost/foo
from example.com/foo:bar
from alpine:3.10
from foo/bar
from foo/bar:baz
from hello-world:test as foo
from fooasdf as bar-baz
run [ "foo", "bar", "echo \"hello $world\"" ]
run foo bar baz
ARG image=alpine:3.10
FROM $image
from \
alpine:3.10 as foo
run ["foo",\
"bar"\
]
run foo bar baz \
qux \
qup
copy \
--from=foo \
/foo/bar \
/foo/baz \
/qux/
entrypoint foo bar baz
entrypoint ["foo", "bar", "baz"]
cmd foo bar
cmd ["foo", "bar"]
copy foo bar
copy --from=0 /foo /bar
other foo bar
other foo\
bar
env foo bar baz \
qux
env foo=bar baz=qux
env zxcv asdf
env foo="bar zxcv" baz=qux zxcv="asdf\"qwerty" \
zxcv=zxcvzxvb
label foo=bar
label foo="bar"
label "foo bar"="baz qux"
label "foo\
bar"="baz\"\
qux"
foo bar