-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
18 lines (18 loc) · 978 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM lennihein/arch
RUN paru -S --noconfirm code-server
EXPOSE 8080
COPY --chown=lenni:wheel config.yaml .config/code-server/config.yaml
COPY --chown=lenni:wheel settings.json .local/share/code-server/User/settings.json
RUN wget https://github.com/microsoft/vscode-cpptools/releases/download/1.7.1/cpptools-linux.vsix\
&& wget https://github.com/dracula/visual-studio-code/releases/download/v2.24.1/dracula.vsix\
&& wget https://github.com/twxs/vs.language.cmake/releases/download/v0.0.16-beta1/cmake-0.0.16.vsix\
&& wget https://github.com/microsoft/vscode-cmake-tools/releases/download/v1.9.2/cmake-tools.vsix\
&& wget https://github.com/microsoft/vscode-python/releases/download/2021.12.1559732655/ms-python-release.vsix
RUN code-server\
--install-extension cpptools-linux.vsix\
--install-extension dracula.vsix\
--install-extension cmake-0.0.16.vsix\
--install-extension cmake-tools.vsix\
--install-extension ms-python-release.vsix
RUN rm *.vsix -rf
CMD code-server