codeserver-js / root /usr /local /bin /install-extension
gendisjawi's picture
Upload folder using huggingface_hub
03d9243 verified
raw
history blame contribute delete
272 Bytes
#!/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