File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ RUN sed -i '/\/app\/code-server\/bin\/code-server/a \\\t\t\t\t--disable-workspac
20
20
# install kubernetes vs code extension
21
21
RUN /app/code-server/bin/code-server --install-extension ms-kubernetes-tools.vscode-kubernetes-tools --extensions-dir /config/extensions
22
22
23
- # set dark theme
24
- RUN sed -i 's/"workbench.colorTheme": "Default Light+",/"workbench.colorTheme": "Default Dark Modern",/g' /config/data/User/settings.json
23
+ RUN mkdir -p /config/data/User
24
+ RUN touch /config/data/User/settings.json
25
25
26
- # disable welcome page
27
- RUN sed -i 's/ "workbench.startupEditor ": "welcomePage",/ "workbench.startupEditor": "newUntitledFile",/g' /config/data/User/settings.json
26
+ # set dark theme with echo and disable welcome page "workbench.startupEditor": "none"
27
+ RUN echo '{ "workbench.colorTheme ": "Default Dark Modern", "workbench.startupEditor": "none" }' >> /config/data/User/settings.json
28
28
29
29
# Installing kubectl
30
30
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
You can’t perform that action at this time.
0 commit comments