mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
changed repo init-cs for mandatory items
This commit is contained in:
parent
3627243d9c
commit
5eceb1f591
3 changed files with 6 additions and 4 deletions
|
@ -44,6 +44,7 @@ RUN apt-get update \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
#System configuration
|
||||
WORKDIR /data
|
||||
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen && \
|
||||
update-locale LANG=en_US.UTF-8 && \
|
||||
curl https://bootstrap.pypa.io/get-pip.py | python3
|
||||
|
@ -66,8 +67,10 @@ COPY rootfs /
|
|||
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/
|
||||
WORKDIR /root/.config/code-server
|
||||
COPY "rootfs/usr/lib/code-server/defaults/config.yaml" "/root/.config/code-server/config.yaml"
|
||||
|
||||
# Copy default config
|
||||
WORKDIR /root/.config/code-server/defaults
|
||||
COPY "rootfs/usr/lib/code-server/defaults/config.yaml" "config.yaml"
|
||||
|
||||
# Install Oh My ZSH
|
||||
# hadolint ignore=SC2086
|
||||
|
|
|
@ -24,7 +24,7 @@ readonly -a PREVIOUS_DEFAULT_CONFIG_HASHES=(
|
|||
)
|
||||
|
||||
readonly DEFAULT_FILES_PATH="/usr/lib/code-server/defaults"
|
||||
readonly DEFAULT_CONFIG_PATH="/config/addon_config/vscode"
|
||||
readonly DEFAULT_CONFIG_PATH="/config/addon_configs/vscode"
|
||||
readonly CODE_SERVER_CONFIG="/root/.config/code-server/config.yaml"
|
||||
|
||||
# Ensure config path exists
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
# this file is blank as install uses the defaults to replace it as to not have spagetti code.
|
Loading…
Add table
Add a link
Reference in a new issue