Skip to content

Instantly share code, notes, and snippets.

@lightxu
Last active September 12, 2015 00:06
Show Gist options
  • Select an option

  • Save lightxu/968615a6b889d4cd82f8 to your computer and use it in GitHub Desktop.

Select an option

Save lightxu/968615a6b889d4cd82f8 to your computer and use it in GitHub Desktop.

Revisions

  1. lightxu revised this gist Sep 12, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    play_log:
    build: .
  2. lightxu created this gist Sep 12, 2015.
    5 changes: 5 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    from ubuntu

    RUN ln -sf /dev/stdout /log

    CMD while true; do echo "test\n" >/log; sleep 1; done