From 4f887d52a3bd57b46af2cbdec4f620158c1eda71 Mon Sep 17 00:00:00 2001 From: bluxmit Date: Tue, 21 Dec 2021 11:50:45 +0000 Subject: [PATCH] Remove slow rainglow extension from Theia (wid) --- workspaces/workspace-in-docker/1.15.0.package.json | 9 ++------- workspaces/workspace-in-docker/Dockerfile | 3 ++- workspaces/workspace-in-docker/mkdocs/macros/helpers.py | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/workspaces/workspace-in-docker/1.15.0.package.json b/workspaces/workspace-in-docker/1.15.0.package.json index 42668f0..f6adeea 100644 --- a/workspaces/workspace-in-docker/1.15.0.package.json +++ b/workspaces/workspace-in-docker/1.15.0.package.json @@ -107,15 +107,10 @@ "teabyii.ayu": "https://open-vsx.org/api/teabyii/ayu/0.20.1/file/teabyii.ayu-0.20.1.vsix", "yurihs.sublime-vscode-theme": "https://open-vsx.org/api/yurihs/sublime-vscode-theme/1.4.1/file/yurihs.sublime-vscode-theme-1.4.1.vsix", "wesbos.theme-cobalt2": "https://open-vsx.org/api/wesbos/theme-cobalt2/2.1.6/file/wesbos.theme-cobalt2-2.1.6.vsix", - "github.github-vscode-theme": "https://open-vsx.org/api/GitHub/github-vscode-theme/4.1.1/file/GitHub.github-vscode-theme-4.1.1.vsix", "armandphilippot.coldark": "https://open-vsx.org/api/armandphilippot/coldark/1.2.9/file/armandphilippot.coldark-1.2.9.vsix", "radiolevity.search-lights": "https://open-vsx.org/api/radiolevity/search-lights/1.10.1/file/radiolevity.search-lights-1.10.1.vsix", "vladeeg.vscode-theme-vlight": "https://open-vsx.org/api/Vladeeg/vscode-theme-vlight/2.1.0/file/Vladeeg.vscode-theme-vlight-2.1.0.vsix", "akamud.vscode-theme-onelight": "https://open-vsx.org/api/akamud/vscode-theme-onelight/2.2.3/file/akamud.vscode-theme-onelight-2.2.3.vsix", - "akamud.vscode-theme-onedark": "https://open-vsx.org/api/akamud/vscode-theme-onedark/2.2.3/file/akamud.vscode-theme-onedark-2.2.3.vsix", - "daylerees.rainglow": "https://open-vsx.org/api/daylerees/rainglow/1.5.2/file/daylerees.rainglow-1.5.2.vsix", - "emroussel.atom-icons": "https://open-vsx.org/api/emroussel/atom-icons/1.2.0/file/emroussel.atom-icons-1.2.0.vsix", - "laurenttreguier.vscode-simple-icons": "https://open-vsx.org/api/LaurentTreguier/vscode-simple-icons/1.16.0/file/LaurentTreguier.vscode-simple-icons-1.16.0.vsix", - "technicolor-creamsicle.deepdark-material": "https://open-vsx.org/api/technicolor-creamsicle/deepdark-material/3.3.0/file/technicolor-creamsicle.deepdark-material-3.3.0.vsix" - } + "akamud.vscode-theme-onedark": "https://open-vsx.org/api/akamud/vscode-theme-onedark/2.2.3/file/akamud.vscode-theme-onedark-2.2.3.vsix" + } } diff --git a/workspaces/workspace-in-docker/Dockerfile b/workspaces/workspace-in-docker/Dockerfile index 3231aa4..7221e18 100644 --- a/workspaces/workspace-in-docker/Dockerfile +++ b/workspaces/workspace-in-docker/Dockerfile @@ -1,7 +1,7 @@ ARG docker_registry=docker.io/alnoda -ARG image_tag=18.04-0.8 +ARG image_tag=18.04-0.9 ## Images used: ARG BUILD_IMAGE=node:12.18.3 @@ -48,6 +48,7 @@ USER root RUN mkdir -p -m 777 /opt/theia \ && cd /opt/theia && nodeenv --node=12.18.3 env && . env/bin/activate \ && mkdir -p -m 777 /home/project \ + && apt-get update \ && apt-get install -y libsecret-1-dev \ && rm -rf /home/docs diff --git a/workspaces/workspace-in-docker/mkdocs/macros/helpers.py b/workspaces/workspace-in-docker/mkdocs/macros/helpers.py index f41c074..11e499b 100644 --- a/workspaces/workspace-in-docker/mkdocs/macros/helpers.py +++ b/workspaces/workspace-in-docker/mkdocs/macros/helpers.py @@ -28,7 +28,7 @@ def define_env(env): @env.macro def get_tool_url(env): try: - return os.environ[name] + return os.environ[env] except: # Get host host = "localhost"