From 956f644a58af59d814cd55f6557f1a52677c21c9 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Tue, 26 Nov 2024 00:20:35 -0500 Subject: [PATCH] Fix docker error (#374) * Fix docker error * Remove backports.tarfile * Update sqlite * Fix sqlite issue * Use pip * Fix sqlite * Use mamba * Add sqlite3 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 77888f30..7ecc4c9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,12 @@ LABEL maintainer="Qiusheng Wu" LABEL repo="https://github.com/opengeos/segment-geospatial" USER root -RUN apt-get update -y && apt-get install libgl1 -y +RUN apt-get update -y && apt-get install libgl1 sqlite3 -y USER 1000 RUN mamba install -c conda-forge leafmap localtileserver segment-geospatial sam2==0.4.1 -y && \ - pip install -U segment-geospatial jupyter-server-proxy backports.tarfile && \ + pip install -U segment-geospatial jupyter-server-proxy && \ + mamba update -c conda-forge sqlite -y && \ jupyter server extension enable --sys-prefix jupyter_server_proxy && \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}"