diff --git a/vscode/Dockerfile b/vscode/Dockerfile index b7be380..f2820f3 100755 --- a/vscode/Dockerfile +++ b/vscode/Dockerfile @@ -66,6 +66,7 @@ COPY rootfs / RUN chown -R root:root /root RUN chown -R root:root /etc/s6-overlay/s6-rc.d/ RUN chmod 755 -R /etc/s6-overlay/s6-rc.d/ + # Install Oh My ZSH # hadolint ignore=SC2086 RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" \ diff --git a/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-code-server/run b/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-code-server/run index 770a750..ebfaa92 100644 --- a/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-code-server/run +++ b/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-code-server/run @@ -28,7 +28,7 @@ readonly DEFAULT_CONFIG_PATH="/config/addons_config/" readonly CODE_SERVER_CONFIG="/root/.config/code-server/config.yaml" # Ensure config path exists -if bashio::config.has_value "config_path" ; then +if bashio::config.has_value "config_path"; then config_path=$(bashio::config 'config_path') if ! bashio::fs.directory_exists "${config_path}"; then bashio::exit.nok "Configured config path does not exists"