From 565b4eb9144aa38dbf8d65536f174ad205b35eb5 Mon Sep 17 00:00:00 2001 From: Carl Date: Fri, 20 Sep 2024 19:54:28 -0700 Subject: [PATCH] more stuff --- images/Dockerfile.pytorch | 8 ++++++++ images/jupyter-ai.yml | 3 +++ 2 files changed, 11 insertions(+) diff --git a/images/Dockerfile.pytorch b/images/Dockerfile.pytorch index 5ffe3ec..bc2f3b3 100644 --- a/images/Dockerfile.pytorch +++ b/images/Dockerfile.pytorch @@ -2,3 +2,11 @@ FROM quay.io/jupyter/pytorch-notebook:cuda12-2024-04-22 COPY jupyter-ai.yml environment.yml RUN conda env update --file environment.yml +USER root +RUN curl -L https://ollama.com/download/ollama-linux-amd64 -o /usr/local/bin/ollama && chmod +x /usr/local/bin/ollama +RUN curl -fsSL https://code-server.dev/install.sh | sh && rm -rf .cache +RUN git config --system pull.rebase false && \ + git config --system credential.helper 'cache --timeout=30000' && \ + echo '"\e[5~": history-search-backward' >> /etc/inputrc && \ + echo '"\e[6~": history-search-forward' >> /etc/inputrc + diff --git a/images/jupyter-ai.yml b/images/jupyter-ai.yml index 8c98215..1a6f808 100644 --- a/images/jupyter-ai.yml +++ b/images/jupyter-ai.yml @@ -4,4 +4,7 @@ channels: dependencies: - jupyterlab-myst - jupyter-ai + - jupyter-tensorboard-proxy + - jupyter-resource-usage + - jupyter-vscode-proxy