Loading README.md +8 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,10 @@ Just ADD the file [`docker-init.sh`][1] to your docker images like so: ADD https://code.kodo.org.uk/kodo.org.uk/docker-init/raw/master/docker-init.sh <TARGET-PATH> ``` Entrypoint ---------- To use [`docker-entrypoint.sh`][2], `docker-init.sh` must go in `/lib/`: ``` Loading @@ -21,5 +25,9 @@ ADD https://code.kodo.org.uk/kodo.org.uk/docker-init/raw/master/docker-entrypoin ENTRYPOINT ["/bin/entrypoint"] ``` Any sourceable environment variable setup scripts go into `/etc/environment.d` while other setup scripts go into `/etc/init.d`. They will be sourced & run respectively before the container command is run. [1]: https://code.kodo.org.uk/kodo.org.uk/docker-init/blob/master/doc/docker-init.md "docker-init.sh documentation" [2]: https://code.kodo.org.uk/kodo.org.uk/docker-init/blob/master/doc/docker-entrypoint.md "docker-entrypoint documentation" Loading
README.md +8 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,10 @@ Just ADD the file [`docker-init.sh`][1] to your docker images like so: ADD https://code.kodo.org.uk/kodo.org.uk/docker-init/raw/master/docker-init.sh <TARGET-PATH> ``` Entrypoint ---------- To use [`docker-entrypoint.sh`][2], `docker-init.sh` must go in `/lib/`: ``` Loading @@ -21,5 +25,9 @@ ADD https://code.kodo.org.uk/kodo.org.uk/docker-init/raw/master/docker-entrypoin ENTRYPOINT ["/bin/entrypoint"] ``` Any sourceable environment variable setup scripts go into `/etc/environment.d` while other setup scripts go into `/etc/init.d`. They will be sourced & run respectively before the container command is run. [1]: https://code.kodo.org.uk/kodo.org.uk/docker-init/blob/master/doc/docker-init.md "docker-init.sh documentation" [2]: https://code.kodo.org.uk/kodo.org.uk/docker-init/blob/master/doc/docker-entrypoint.md "docker-entrypoint documentation"