From 1b7ccecaf2f73ca055ee8491db7c4d0575942bd8 Mon Sep 17 00:00:00 2001 From: Carl Date: Wed, 9 Oct 2024 08:25:56 -0700 Subject: [PATCH] update build --- images/Dockerfile.gpu | 15 +++++++++------ images/spatial-env.yml | 4 +++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/images/Dockerfile.gpu b/images/Dockerfile.gpu index 2623353..8de8d86 100644 --- a/images/Dockerfile.gpu +++ b/images/Dockerfile.gpu @@ -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 @@ -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 && \ diff --git a/images/spatial-env.yml b/images/spatial-env.yml index d104af8..4c80da1 100644 --- a/images/spatial-env.yml +++ b/images/spatial-env.yml @@ -9,7 +9,8 @@ dependencies: - fsspec - geopandas - geocube - - leafmap[maplibregl] + - leafmap + - libgdal-arrow-parquet - localtileserver - mapclassify - maplibre @@ -32,6 +33,7 @@ dependencies: - rioxarray - stackstac - streamlit + - tippecanoe - tqdm - xarray - zarr