phusion/baseimage-docker — pull request #4 by bartmeuris (2014-01-17 13:55:01+00:00)
Title: Run initial command before starting services

This way, any special things specific to a docker images (in my case, initializing the database for redmine) can be done before starting any services.

Any arguments passed will be executed in a subshell. If it fails, the my_init will exit.