From cb19c28820f9e39cb8c26ca2d99b794b0026cd15 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Sun, 17 Nov 2024 20:51:13 -0500 Subject: [PATCH 1/2] Pin sam2 version in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 53d2a359..f84e526d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ USER root RUN apt-get update -y && apt-get install libgl1 -y USER 1000 -RUN mamba install -c conda-forge leafmap localtileserver segment-geospatial -y && \ +RUN mamba install -c conda-forge leafmap localtileserver segment-geospatial sam2<1.0 -y && \ pip install -U segment-geospatial jupyter-server-proxy backports.tarfile && \ jupyter server extension enable --sys-prefix jupyter_server_proxy && \ fix-permissions "${CONDA_DIR}" && \ From e2fc0e94b833e5c15bbc23e9427f882a713a73f7 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Sun, 17 Nov 2024 20:55:27 -0500 Subject: [PATCH 2/2] Update sam2 version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f84e526d..77888f30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ USER root RUN apt-get update -y && apt-get install libgl1 -y USER 1000 -RUN mamba install -c conda-forge leafmap localtileserver segment-geospatial sam2<1.0 -y && \ +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 && \ jupyter server extension enable --sys-prefix jupyter_server_proxy && \ fix-permissions "${CONDA_DIR}" && \