Last active
December 30, 2015 18:18
-
-
Save juniorz/7866174 to your computer and use it in GitHub Desktop.
Ruby 2.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------- | |
# $ docker build -t garage-env/ruby20 git://gist.github.com/7866174.git | |
# ------------------------------------------------------------------- | |
# $ echo 'puts "Hello"' > hello.rb | |
# $ docker run -v `pwd`:/garage -t garage-env/ruby20 foo.rb | |
# Heloo | |
# ------------------------------------------------------------------- | |
FROM garage-env/ruby20-base | |
MAINTAINER Reinaldo Junior <[email protected]> | |
USER garage | |
CMD ["--help"] | |
ENTRYPOINT ["/usr/bin/ruby"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment