The image contains a generic initialialization script (
/opt/bin/do) that is
ENTRYPOINT in inheriting containers. The script expects that
/var/opt is on a Docker volume.
The script serves packages installed in
/opt/<provider>/<package>. In the package directories it looks to
subdirectories (see below) for shell scripts and executes them.
Runs once when service data on Docker volumes is initialized.
Runs when a new container is started. It happends when the service (container
and its data0 is crested for 1st time and when the container is re-created on
top ot existing data in volumes.