Created
October 13, 2014 13:47
-
-
Save j0hnsmith/90f5c4ce7f66ad8a0abc to your computer and use it in GitHub Desktop.
baseimage-docker/issues/151
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 phusion/baseimage:0.9.13 | |
ADD run /etc/service/foo/run | |
ADD log_run /etc/service/foo/log/run | |
CMD ["/sbin/my_init"] |
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
#!/bin/bash -ex | |
mkdir -p /var/log/foo | |
exec svlogd -tt /var/log/foo |
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
#!/bin/sh | |
sleep 30 | |
echo 'now starting' | |
exec sleep 30 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment