| 1 |
(from "mirror.gcr.io/busybox:buildroot-2014.02") |
| 2 |
(label "maintainer" "docker <[email protected]>") |
| 3 |
(onbuild (run "echo" "test")) |
| 4 |
(onbuild (run "echo test")) |
| 5 |
(onbuild (copy "." "/")) |
| 6 |
(run "ls" "-la") |
| 7 |
(run "echo" "'1234'") |
| 8 |
(run "echo \"1234\"") |
| 9 |
(run "echo 1234") |
| 10 |
(run "echo '1234' && echo \"456\" && echo 789") |
| 11 |
(run "sh -c 'echo root:testpass > /tmp/passwd'") |
| 12 |
(run "mkdir -p /test /test2 /test3/test") |
| 13 |
(env "SCUBA" "1 DUBA 3") |
| 14 |
(env "SCUBA" "\"1 DUBA 3\"") |
| 15 |
(cmd "echo" "test") |
| 16 |
(cmd "echo test") |
| 17 |
(cmd "echo \"test\"") |
| 18 |
(cmd "echo 'test'") |
| 19 |
(cmd "echo 'test' | wc -") |
| 20 |
(expose "3000") |
| 21 |
(expose "9000" "5000" "6000") |
| 22 |
(user "docker") |
| 23 |
(user "docker:root") |
| 24 |
(volume "/test") |
| 25 |
(volume "/test" "/test2") |
| 26 |
(volume "/test3") |
| 27 |
(workdir "/test") |
| 28 |
(add "." "/") |
| 29 |
(copy "." "copy") |