From 30a6bb17089c65a59da4979bb9d03bbe5068de0f Mon Sep 17 00:00:00 2001 From: William Hearn Date: Sat, 26 Dec 2020 20:37:07 -0500 Subject: [PATCH] feat(vscode): Set default theme back to Dark --- docker-bits/6_JupyterLab.Dockerfile | 3 ++- output/JupyterLab-CPU/Dockerfile | 3 ++- output/JupyterLab-CPU/vscode-overrides.json | 3 +++ output/JupyterLab-PyTorch/Dockerfile | 3 ++- output/JupyterLab-PyTorch/vscode-overrides.json | 3 +++ output/JupyterLab-Tensorflow/Dockerfile | 3 ++- output/JupyterLab-Tensorflow/vscode-overrides.json | 3 +++ output/RStudio/vscode-overrides.json | 3 +++ resources/vscode-overrides.json | 3 +++ 9 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 output/JupyterLab-CPU/vscode-overrides.json create mode 100644 output/JupyterLab-PyTorch/vscode-overrides.json create mode 100644 output/JupyterLab-Tensorflow/vscode-overrides.json create mode 100644 output/RStudio/vscode-overrides.json create mode 100644 resources/vscode-overrides.json diff --git a/docker-bits/6_JupyterLab.Dockerfile b/docker-bits/6_JupyterLab.Dockerfile index 5dcb0a05b..60e8e3b75 100644 --- a/docker-bits/6_JupyterLab.Dockerfile +++ b/docker-bits/6_JupyterLab.Dockerfile @@ -14,8 +14,9 @@ RUN wget -q "${VSCODE_URL}" -O ./vscode.deb \ && mkdir -p /etc/share/code-server/extensions # Fix for VSCode extensions and CORS -ENV XDG_DATA_HOME=/etc/share/ +ENV XDG_DATA_HOME=/etc/share ENV SERVICE_URL=https://extensions.coder.com/api +COPY vscode-overrides.json $XDG_DATA_HOME/code-server/User/settings.json RUN code-server --install-extension ms-python.python && \ code-server --install-extension ikuyadeu.r && \ fix-permissions $XDG_DATA_HOME diff --git a/output/JupyterLab-CPU/Dockerfile b/output/JupyterLab-CPU/Dockerfile index e770f0d76..752362864 100644 --- a/output/JupyterLab-CPU/Dockerfile +++ b/output/JupyterLab-CPU/Dockerfile @@ -130,8 +130,9 @@ RUN wget -q "${VSCODE_URL}" -O ./vscode.deb \ && mkdir -p /etc/share/code-server/extensions # Fix for VSCode extensions and CORS -ENV XDG_DATA_HOME=/etc/share/ +ENV XDG_DATA_HOME=/etc/share ENV SERVICE_URL=https://extensions.coder.com/api +COPY vscode-overrides.json $XDG_DATA_HOME/code-server/User/settings.json RUN code-server --install-extension ms-python.python && \ code-server --install-extension ikuyadeu.r && \ fix-permissions $XDG_DATA_HOME diff --git a/output/JupyterLab-CPU/vscode-overrides.json b/output/JupyterLab-CPU/vscode-overrides.json new file mode 100644 index 000000000..2c0da80df --- /dev/null +++ b/output/JupyterLab-CPU/vscode-overrides.json @@ -0,0 +1,3 @@ +{ + "workbench.colorTheme": "Default Dark+" +} diff --git a/output/JupyterLab-PyTorch/Dockerfile b/output/JupyterLab-PyTorch/Dockerfile index d6843ba94..32c5da8c2 100644 --- a/output/JupyterLab-PyTorch/Dockerfile +++ b/output/JupyterLab-PyTorch/Dockerfile @@ -228,8 +228,9 @@ RUN wget -q "${VSCODE_URL}" -O ./vscode.deb \ && mkdir -p /etc/share/code-server/extensions # Fix for VSCode extensions and CORS -ENV XDG_DATA_HOME=/etc/share/ +ENV XDG_DATA_HOME=/etc/share ENV SERVICE_URL=https://extensions.coder.com/api +COPY vscode-overrides.json $XDG_DATA_HOME/code-server/User/settings.json RUN code-server --install-extension ms-python.python && \ code-server --install-extension ikuyadeu.r && \ fix-permissions $XDG_DATA_HOME diff --git a/output/JupyterLab-PyTorch/vscode-overrides.json b/output/JupyterLab-PyTorch/vscode-overrides.json new file mode 100644 index 000000000..2c0da80df --- /dev/null +++ b/output/JupyterLab-PyTorch/vscode-overrides.json @@ -0,0 +1,3 @@ +{ + "workbench.colorTheme": "Default Dark+" +} diff --git a/output/JupyterLab-Tensorflow/Dockerfile b/output/JupyterLab-Tensorflow/Dockerfile index 1afb5d7ba..6323185c8 100644 --- a/output/JupyterLab-Tensorflow/Dockerfile +++ b/output/JupyterLab-Tensorflow/Dockerfile @@ -224,8 +224,9 @@ RUN wget -q "${VSCODE_URL}" -O ./vscode.deb \ && mkdir -p /etc/share/code-server/extensions # Fix for VSCode extensions and CORS -ENV XDG_DATA_HOME=/etc/share/ +ENV XDG_DATA_HOME=/etc/share ENV SERVICE_URL=https://extensions.coder.com/api +COPY vscode-overrides.json $XDG_DATA_HOME/code-server/User/settings.json RUN code-server --install-extension ms-python.python && \ code-server --install-extension ikuyadeu.r && \ fix-permissions $XDG_DATA_HOME diff --git a/output/JupyterLab-Tensorflow/vscode-overrides.json b/output/JupyterLab-Tensorflow/vscode-overrides.json new file mode 100644 index 000000000..2c0da80df --- /dev/null +++ b/output/JupyterLab-Tensorflow/vscode-overrides.json @@ -0,0 +1,3 @@ +{ + "workbench.colorTheme": "Default Dark+" +} diff --git a/output/RStudio/vscode-overrides.json b/output/RStudio/vscode-overrides.json new file mode 100644 index 000000000..2c0da80df --- /dev/null +++ b/output/RStudio/vscode-overrides.json @@ -0,0 +1,3 @@ +{ + "workbench.colorTheme": "Default Dark+" +} diff --git a/resources/vscode-overrides.json b/resources/vscode-overrides.json new file mode 100644 index 000000000..2c0da80df --- /dev/null +++ b/resources/vscode-overrides.json @@ -0,0 +1,3 @@ +{ + "workbench.colorTheme": "Default Dark+" +}