Skip to content

Commit 6295963

Browse files
committed
Testing with code-server baked in
1 parent 02a7226 commit 6295963

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

images/jupyter/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,10 @@ ENV LANGUAGE=en_US.UTF-8
2626
ENV LC_ALL=en_US.UTF-8
2727

2828
RUN echo "${NB_USER} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
29+
30+
ARG CODE_SERVER_VERSION=latest
31+
RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/opt/code-server \
32+
&& ln -s /opt/code-server/bin/code-server /usr/local/bin/code-server
33+
34+
USER ${NB_USER}
35+
WORKDIR /home/$NB_USER

0 commit comments

Comments
 (0)