Skip to content

Commit

Permalink
new ollama distribution mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Sep 21, 2024
1 parent c597fb1 commit e11b66b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/Dockerfile.pytorch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ RUN conda update -n base -c conda-forge conda && \
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 -L https://ollama.com/download/ollama-linux-amd64.tgz -o ollama-linux-amd64.tgz && tar -C /usr -xzf ollama-linux-amd64.tgz

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' && \
Expand Down

0 comments on commit e11b66b

Please sign in to comment.