mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
finally a new error after a complete reinstall of HA
This commit is contained in:
parent
a0795cd244
commit
90bd945b2a
2 changed files with 6 additions and 4 deletions
|
@ -63,9 +63,10 @@ RUN if [ "${BUILD_ARCH}" = "aarch64" ]; then HA_CLI_URL="https://github.com/home
|
|||
|
||||
#Copy root file system
|
||||
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/
|
||||
RUN chown -R root:root /root \
|
||||
&& chown -R root:root /etc/s6-overlay/s6-rc.d/ \
|
||||
&& chmod 755 -R /etc/s6-overlay/s6-rc.d/
|
||||
RUN install -m 600 -o root -g root "$DEFAULT_CONFIG_PATH" "/root/.config/code-server/config.yaml"
|
||||
|
||||
# Install Oh My ZSH
|
||||
# hadolint ignore=SC2086
|
||||
|
|
|
@ -47,7 +47,8 @@ bashio::log.info "using code-server config path: $config_path"
|
|||
|
||||
# Ensure code-server config
|
||||
if ! bashio::fs.file_exists "$CODE_SERVER_CONFIG"; then
|
||||
cp "$DEFAULT_FILES_PATH/config.yaml" "$CODE_SERVER_CONFIG"
|
||||
# TODO check for correct perms
|
||||
install -m 755 -o root -g root "$DEFAULT_FILES_PATH/config.yaml" "$DEFAULT_CONFIG_PATH"
|
||||
fi
|
||||
|
||||
if bashio::config.has_value 'log_level'; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue