changed repo init-cs for mandatory items

This commit is contained in:
Richard Sperry 2025-04-15 15:03:53 -07:00
parent 3627243d9c
commit 5eceb1f591
3 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -1 +0,0 @@
# this file is blank as install uses the defaults to replace it as to not have spagetti code.