Skip to content

Commit

Permalink
Add first pass at Code flavour
Browse files Browse the repository at this point in the history
  • Loading branch information
darribas committed Apr 10, 2024
1 parent 44cd754 commit 3b233b3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions gds_code/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM darribas/gds_dev:10.0

USER root

RUN curl -fsSL https://code-server.dev/install.sh | sh

RUN apt-get update \
&& apt-get install -y latexmk

RUN /usr/bin/code-server \
--install-extension quarto.quarto \
--install-extension vscodevim.vim \
--install-extension ms-toolsai.jupyter \
--install-extension ms-python.python \
--install-extension tomoki1207.pdf \
--install-extension james-yu.latex-workshop \
--install-extension equinusocio.vsc-material-theme \
&& fix-permissions /home/$NB_USER/.local/share/code-server/

USER $NB_UID
EXPOSE 8080
ENTRYPOINT [ \
"/usr/bin/code-server", \
"--bind-addr", "0.0.0.0:8080", \
"." \
]

0 comments on commit 3b233b3

Please sign in to comment.