mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
devenv
This commit is contained in:
parent
582995c164
commit
4b6b10902d
9 changed files with 7 additions and 9 deletions
|
@ -67,6 +67,8 @@ 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/
|
||||
|
||||
COPY data /data
|
||||
|
||||
# Install Oh My ZSH
|
||||
# hadolint ignore=SC2086
|
||||
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" \
|
||||
|
|
|
@ -28,8 +28,6 @@ map:
|
|||
read_only: false
|
||||
- type: data
|
||||
read_only: false
|
||||
- type: all_addon_configs
|
||||
read_only: false
|
||||
- type: backup
|
||||
read_only: false
|
||||
- type: config
|
||||
|
|
|
@ -22,16 +22,14 @@ readonly -a PREVIOUS_DEFAULT_CONFIG_HASHES=(
|
|||
dbe905f0935b2fea8bb5ba379bff78db9d056ea6d0965c68aa9b07938a52cbbf117186452b2b6c766aa4cf93cc3494ad91b763e8500e515e41d8cde31a3821ae
|
||||
2212babaa9dc46d38ba239052c9c05151abe517cc8b493d0d351a96bf70c1efa4f7479f6ed0b75811429ba649906eb5657d73b0732b460e718a5c66603dcdbda
|
||||
)
|
||||
|
||||
readonly -a DIRECTORIES=(addon_configs addons backup config media share ssl)
|
||||
readonly DEFAULT_FILES_PATH="/var/lib/code-server/defaults"
|
||||
readonly DEFAULT_CONFIG_PATH="/config/addon_configs/vscode"
|
||||
readonly ROOT_CODE_SERVER_CONFIG_PATH="/root/.config/code-server/"
|
||||
|
||||
CODE_SERVER_CONFIG="$DEFAULT_CONFIG_PATH/config.yaml"
|
||||
readonly DEFAULT_FILES_PATH="/data/defaults"
|
||||
readonly DEFAULT_CONFIG_PATH="/data/vscode"
|
||||
readonly ROOT_CODE_SERVER_CONFIG_PATH="/root/.config/code-server/" # needed for code-server to cleanly startup.
|
||||
readonly CODE_SERVER_EXTENSIONS_INSTALL_PATH="$DEFAULT_CONFIG_PATH/extensions"
|
||||
readonly CODE_SERVER_EXTENSIONS_LIST="$DEFAULT_CONFIG_PATH/vscode.extensions"
|
||||
readonly -a DIRECTORIES=(addons addon_configs data backup config media share ssl)
|
||||
|
||||
CODE_SERVER_CONFIG="$DEFAULT_CONFIG_PATH/config.yaml"
|
||||
|
||||
# Links some common directories to the user's home folder for convenience
|
||||
for dir in "${DIRECTORIES[@]}"; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue