From 413aa5129f288d53509235bf04f4c2a88c9fa95f Mon Sep 17 00:00:00 2001 From: Roxedus Date: Wed, 29 Dec 2021 23:25:33 +0100 Subject: [PATCH] Document internal "guidelines" --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 5636dec..761c799 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,11 @@ If adding multiple mods, enter them in an array separated by `|`, such as `DOCKE * Finally edit the `.github/workflows/BuildImage.yml`. Customize the build branch, and the vars for `BASEIMAGE` and `MODNAME`. * Ask the team to create a new branch named `-`. Baseimage should be the name of the image the mod will be applied to. The new branch will be based on the `template` branch. * Submit PR against the branch created by the team. + + +## Tips and tricks + +* To decrease startup times when multiple mods are used, we have consolidated `apt-get update` down to one file. As seen in the [nodejs mod](https://github.com/linuxserver/docker-mods/tree/code-server-nodejs/root/etc/cont-init.d) +* Some images has helpers built in, these images are currently: + * [Openvscode-server](https://github.com/linuxserver/docker-openvscode-server/pull/10/files) + * [Code-server](https://github.com/linuxserver/docker-code-server/pull/95)