Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Oct 9, 2024
1 parent 825815e commit 1b7ccec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 9 additions & 6 deletions images/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ 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 git config --system pull.rebase false && \
echo '"\e[5~": history-search-backward' >> /etc/inputrc && \
echo '"\e[6~": history-search-forward' >> /etc/inputrc

#git config --system credential.helper 'cache --timeout=30000' && \

RUN apt-get update -qq && apt-get -y install vim git-lfs

# install codeserver
Expand All @@ -22,6 +16,15 @@ 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


RUN git config --system pull.rebase false && \
git config --system credential.credentialStore 'cache --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


USER ${NB_USER}
COPY spatial-env.yml spatial-env.yml
RUN conda update -n base -c conda-forge conda && \
Expand Down
4 changes: 3 additions & 1 deletion images/spatial-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ dependencies:
- fsspec
- geopandas
- geocube
- leafmap[maplibregl]
- leafmap
- libgdal-arrow-parquet
- localtileserver
- mapclassify
- maplibre
Expand All @@ -32,6 +33,7 @@ dependencies:
- rioxarray
- stackstac
- streamlit
- tippecanoe
- tqdm
- xarray
- zarr
Expand Down

0 comments on commit 1b7ccec

Please sign in to comment.