Last active
August 29, 2015 14:02
-
-
Save DanielG/7ed500d1b0a4473b4307 to your computer and use it in GitHub Desktop.
This file contains 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
FROM ubuntu:precise | |
RUN apt-get update && apt-get -y install ruby strace | |
ADD test.rb /root/test.rb | |
CMD [] | |
ENTRYPOINT ["strace", "-f", "ruby", "/root/test.rb"] |
This file contains 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
#!/usr/bin/env ruby | |
$stderr.write($stdin.read) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment