Skip to content

Commit

Permalink
GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Oct 24, 2024
1 parent 9e56a38 commit 5be1430
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions images/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ 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.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 apt-get update -qq && apt-get -y install vim git-lfs
# some apt-get utilities
RUN apt-get update -qq && apt-get -y install vim git-lfs python3-venv

# install codeserver
RUN curl -fsSL https://code-server.dev/install.sh | sh && rm -rf .cache

# 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

# awscli tool
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install

# git config
RUN git config --system pull.rebase false && \
git config --system credential.credentialStore cache && \
git config --system credential.cacheOptions "--timeout 30000" && \
echo '"\e[5~": history-search-backward' >> /etc/inputrc && \
echo '"\e[6~": history-search-forward' >> /etc/inputrc

RUN wget https://github.com/git-ecosystem/git-credential-manager/releases/download/v2.6.0/gcm-linux_amd64.2.6.0.deb && dpkg -i gcm-*.deb && rm gcm-*.deb


Expand Down
1 change: 1 addition & 0 deletions images/jupyter-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ dependencies:
- jupyter-vscode-proxy
- code-server >=3.2
- pip

1 change: 0 additions & 1 deletion images/spatial-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: base
channels:
- conda-forge
dependencies:
- awscliv2
- cartopy
- distributed
- earthaccess
Expand Down

0 comments on commit 5be1430

Please sign in to comment.