linuxserver / docker-baseimage-kasmvnc

Base Images for remote web based Linux desktops using KasmVNC for many popular distros.
GNU General Public License v3.0
297 stars 52 forks source link

restructure init scripts to add anchors #3

Closed aptalca closed 1 year ago

aptalca commented 1 year ago

This PR modifies the init structure to add anchors for the baseimage init steps so mods and other customizations can easily inject things in precise locations, and that it's easier to manage for downstream images. Below is the init flow in order:

In a nutshell, this structure sandwiches all the kasmvnc init steps between the 2 new achors, and they run after the root baseimage init (init-os-end) and before the downstream image init (init-config)

To get the full log that shows the order of the init steps, we can pass the env var S6_VERBOSITY=2

LinuxServer-CI commented 1 year ago

I am a bot, here are the test results for this PR: https://ci-tests.linuxserver.io/lspipepr/kasmvnc-base/alpine317-4338bf9d-pkg-4338bf9d-pr-3/index.html https://ci-tests.linuxserver.io/lspipepr/kasmvnc-base/alpine317-4338bf9d-pkg-4338bf9d-pr-3/shellcheck-result.xml