summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-06-10 16:50:24 -0600
committermo khan <mo.khan@gmail.com>2020-06-10 16:50:24 -0600
commit7263a3edf03b84abbdace78dd797d9184812b7db (patch)
tree06236714452db5b48c0a804c018bf8d98e2047a6 /examples
initial commit
Diffstat (limited to 'examples')
-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"