From 7263a3edf03b84abbdace78dd797d9184812b7db Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 10 Jun 2020 16:50:24 -0600 Subject: initial commit --- examples/001/Dockerfile | 4 ++++ examples/001/hello.rb | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 examples/001/Dockerfile create mode 100644 examples/001/hello.rb (limited to 'examples/001') 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" -- cgit v1.2.3