This commit is contained in:
Madiator2011 2024-08-06 15:43:37 +02:00 committed by GitHub
parent 65577e52f9
commit b10b94fbcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,12 +29,14 @@ RUN pip install --upgrade --no-cache-dir pip
COPY ms-toolsai.jupyter-2024.7.0.vsix /tmp/ms-toolsai.jupyter-2024.7.0.vsix COPY ms-toolsai.jupyter-2024.7.0.vsix /tmp/ms-toolsai.jupyter-2024.7.0.vsix
# Install code-server and extensions # Install code-server and extensions
RUN curl -fsSL https://code-server.dev/install.sh | sh && \ RUN curl -fsSL https://code-server.dev/install.sh | sh
code-server --install-extension ms-python.python && \
code-server --install-extension ms-toolsai.vscode-jupyter-powertoys && \ RUN curl -L -o /tmp/ms-toolsai.jupyter-2024.6.0.vsix https://open-vsx.org/api/ms-toolsai/jupyter/2024.6.0/file/ms-toolsai.jupyter-2024.6.0.vsix
code-server --install-extension /tmp/ms-toolsai.jupyter-2024.7.0.vsix
# Install code-server extensions
RUN rm /tmp/ms-toolsai.jupyter-2024.7.0.vsix RUN code-server --install-extension ms-python.python && \
code-server --install-extension /tmp/ms-toolsai.jupyter-2024.6.0.vsix && \
code-server --install-extension ms-toolsai.vscode-jupyter-powertoys
# Pre-install Jupyter kernel and OhMyRunPod # Pre-install Jupyter kernel and OhMyRunPod
RUN pip install ipykernel && \ RUN pip install ipykernel && \