mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
changed code-server config
This commit is contained in:
parent
e189ce90d1
commit
efae2ac145
2 changed files with 2 additions and 1 deletions
|
@ -63,6 +63,7 @@ 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
|
||||
|
||||
|
||||
# Install Oh My ZSH
|
||||
|
|
|
@ -65,7 +65,7 @@ if [ ! -d "$ext_path" ]; then
|
|||
# Install code-server extensions via code-server so terminate is aware of them.
|
||||
while read -r extention; do
|
||||
if [ ! -e $ext_path/$extention* ]; then
|
||||
code-server --install-extension="$extention" --extensions-dir="$ext_path" --user-data-dir "$config_path";
|
||||
code-server --install-extension="$extention" ;
|
||||
fi;
|
||||
done < "$DEFAULT_FILES_PATH/vscode.extensions"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue