2014-08-05 16:17:40 -04:00
|
|
|
(from "busybox:buildroot-2014.02")
|
|
|
|
(maintainer "docker <docker@docker.io>")
|
|
|
|
(onbuild (run "echo" "test"))
|
|
|
|
(onbuild (run "echo test"))
|
|
|
|
(onbuild (copy "." "/"))
|
|
|
|
(run "ls" "-la")
|
|
|
|
(run "echo" "'1234'")
|
|
|
|
(run "echo \"1234\"")
|
|
|
|
(run "echo 1234")
|
2014-10-02 19:58:53 -04:00
|
|
|
(run "echo '1234' && echo \"456\" && echo 789")
|
|
|
|
(run "sh -c 'echo root:testpass > /tmp/passwd'")
|
2014-08-05 16:17:40 -04:00
|
|
|
(run "mkdir -p /test /test2 /test3/test")
|
|
|
|
(env "SCUBA" "1 DUBA 3")
|
|
|
|
(env "SCUBA" "\"1 DUBA 3\"")
|
|
|
|
(cmd "echo" "test")
|
|
|
|
(cmd "echo test")
|
|
|
|
(cmd "echo \"test\"")
|
|
|
|
(cmd "echo 'test'")
|
|
|
|
(cmd "echo 'test' | wc -")
|
|
|
|
(expose "3000")
|
|
|
|
(expose "9000" "5000" "6000")
|
|
|
|
(user "docker")
|
|
|
|
(user "docker:root")
|
|
|
|
(volume "/test")
|
|
|
|
(volume "/test" "/test2")
|
|
|
|
(volume "/test3")
|
|
|
|
(workdir "/test")
|
|
|
|
(add "." "/")
|
2014-08-29 15:49:16 -04:00
|
|
|
(copy "." "copy")
|