Skip to content

Instantly share code, notes, and snippets.

@stefansedich
Last active June 26, 2019 22:31
Show Gist options
  • Save stefansedich/42dd4977bf1c48514b59ca6350e9c1f2 to your computer and use it in GitHub Desktop.
Save stefansedich/42dd4977bf1c48514b59ca6350e9c1f2 to your computer and use it in GitHub Desktop.
FROM ruby
copy foo.rb ./
RUN ruby foo.rb
# Comment out to exhibit buffered output
STDOUT.sync = true
10.times do
puts("foo")
end
sleep(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment