Skip to content

Commit 956f644

Browse files
authored
Fix docker error (#374)
* Fix docker error * Remove backports.tarfile * Update sqlite * Fix sqlite issue * Use pip * Fix sqlite * Use mamba * Add sqlite3
1 parent 7f741c8 commit 956f644

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ LABEL maintainer="Qiusheng Wu"
33
LABEL repo="https://github.com/opengeos/segment-geospatial"
44

55
USER root
6-
RUN apt-get update -y && apt-get install libgl1 -y
6+
RUN apt-get update -y && apt-get install libgl1 sqlite3 -y
77

88
USER 1000
99
RUN mamba install -c conda-forge leafmap localtileserver segment-geospatial sam2==0.4.1 -y && \
10-
pip install -U segment-geospatial jupyter-server-proxy backports.tarfile && \
10+
pip install -U segment-geospatial jupyter-server-proxy && \
11+
mamba update -c conda-forge sqlite -y && \
1112
jupyter server extension enable --sys-prefix jupyter_server_proxy && \
1213
fix-permissions "${CONDA_DIR}" && \
1314
fix-permissions "/home/${NB_USER}"

0 commit comments

Comments
 (0)