Inhalte von "docker-code-server" kopiert.

This commit is contained in:
2024-02-24 13:03:53 +01:00
parent 7295547bfd
commit a37bd971b7
23 changed files with 2580 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
_install=(/app/code-server/bin/code-server "--extensions-dir" "/config/extensions" "--install-extension")
if [ "$(whoami)" == "abc" ]; then
"${_install[@]}" "$@"
else
s6-setuidgid abc "${_install[@]}" "$@"
fi