diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/001/Dockerfile | 4 | ||||
| -rw-r--r-- | examples/001/hello.rb | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/examples/001/Dockerfile b/examples/001/Dockerfile new file mode 100644 index 0000000..f5f827d --- /dev/null +++ b/examples/001/Dockerfile @@ -0,0 +1,4 @@ +FROM alpine:latest +COPY hello.rb /usr/local/bin/hello +RUN chmod +x /usr/local/bin/hello +CMD ["hello"] diff --git a/examples/001/hello.rb b/examples/001/hello.rb new file mode 100644 index 0000000..0a6e058 --- /dev/null +++ b/examples/001/hello.rb @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby + +puts "Hello World" |
