Skip to content

Instantly share code, notes, and snippets.

@DanielG
Last active August 29, 2015 14:02
Show Gist options
  • Save DanielG/7ed500d1b0a4473b4307 to your computer and use it in GitHub Desktop.
Save DanielG/7ed500d1b0a4473b4307 to your computer and use it in GitHub Desktop.
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"]
#!/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