Skip to content

Commit 413aa51

Browse files
committed
Document internal "guidelines"
1 parent d1dc6e5 commit 413aa51

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@ If adding multiple mods, enter them in an array separated by `|`, such as `DOCKE
1515
* Finally edit the `.github/workflows/BuildImage.yml`. Customize the build branch, and the vars for `BASEIMAGE` and `MODNAME`.
1616
* Ask the team to create a new branch named `<baseimagename>-<modname>`. Baseimage should be the name of the image the mod will be applied to. The new branch will be based on the `template` branch.
1717
* Submit PR against the branch created by the team.
18+
19+
20+
## Tips and tricks
21+
22+
* 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)
23+
* Some images has helpers built in, these images are currently:
24+
* [Openvscode-server](https://github.com/linuxserver/docker-openvscode-server/pull/10/files)
25+
* [Code-server](https://github.com/linuxserver/docker-code-server/pull/95)

0 commit comments

Comments
 (0)