Skip to content

Commit ff6afaf

Browse files
committed
fix: update WSL installation environment variable and correct vscode command in Dockerfile
1 parent 39eb55f commit ff6afaf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
FROM labeg/centos-lxqt-vnc:42
33

4+
ENV DONT_PROMPT_WSL_INSTALL=true
5+
46
LABEL maintainer="[email protected]" \
57
io.k8s.description="Container with tools for development C# and Typescript applications" \
68
io.k8s.display-name="Container with C# ant Typescript" \
@@ -27,7 +29,7 @@ RUN dnf install -y geany git code falkon dotnet-sdk-9.0 nodejs \
2729

2830
# add vscode icon to quicklaunch
2931
RUN echo 'apps\3\desktop=/usr/share/applications/code.desktop' >> ${HOME}/.config/lxqt/panel.conf
30-
RUN sed -i 's/code --unity/code --no-sandbox --unity/' /usr/share/applications/code.desktop
32+
RUN sed -i 's/code --new-window/code --no-sandbox --new-window/' /usr/share/applications/code.desktop
3133

3234
USER headless
3335

0 commit comments

Comments
 (0)