summaryrefslogtreecommitdiff
path: root/examples/001
diff options
context:
space:
mode:
Diffstat (limited to 'examples/001')
-rw-r--r--examples/001/Dockerfile4
-rw-r--r--examples/001/hello.rb3
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"