From 5619aec739d009df1ac278f0c7ed7d8dcab142e6 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Thu, 2 Jul 2026 11:35:07 +0200 Subject: [PATCH] update ks4 to 4.1.7 and condas tos accept --- archived/yass/Dockerfile | 4 +++- kilosort4/Dockerfile | 6 ++++-- pykilosort/Dockerfile | 4 +++- spikeinterface-jupyterlab/Dockerfile | 4 +++- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/archived/yass/Dockerfile b/archived/yass/Dockerfile index 8a6b48b..57d2cd1 100644 --- a/archived/yass/Dockerfile +++ b/archived/yass/Dockerfile @@ -37,7 +37,9 @@ RUN echo ". $CONDA_DIR/etc/profile.d/conda.sh" >> /root/.profile RUN conda init bash # install YASS -RUN conda install pytorch==1.2 +RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \ + conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r && \ + conda install pytorch==1.2 RUN git clone https://github.com/paninski-lab/yass \ && cd yass \ && pip --no-cache-dir install -e . \ diff --git a/kilosort4/Dockerfile b/kilosort4/Dockerfile index 48060e7..6d5333c 100644 --- a/kilosort4/Dockerfile +++ b/kilosort4/Dockerfile @@ -2,7 +2,7 @@ FROM nvidia/cuda:12.0.0-base-ubuntu20.04 LABEL maintainer="Alessio Buccino " -ENV KILOSORT4_VERSION=4.0.38 +ENV KILOSORT4_VERSION=4.1.7 # USER root @@ -25,7 +25,9 @@ RUN wget --quiet https://repo.anaconda.com/miniconda/$LATEST_CONDA_SCRIPT -O ~/m bash ~/miniconda.sh -b -p $CONDA_DIR && \ rm ~/miniconda.sh ENV PATH=$CONDA_DIR/bin:$PATH -RUN conda update conda && \ +RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \ + conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r && \ + conda update conda && \ conda install conda-build # make conda activate command available from /bin/bash --login shells diff --git a/pykilosort/Dockerfile b/pykilosort/Dockerfile index c8670de..0a6f50d 100644 --- a/pykilosort/Dockerfile +++ b/pykilosort/Dockerfile @@ -22,7 +22,9 @@ RUN wget --quiet https://repo.anaconda.com/miniconda/$LATEST_CONDA_SCRIPT -O ~/m bash ~/miniconda.sh -b -p $CONDA_DIR && \ rm ~/miniconda.sh ENV PATH=$CONDA_DIR/bin:$PATH -RUN conda update conda && \ +RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \ + conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r && \ + conda update conda && \ conda install conda-build # make conda activate command available from /bin/bash --login shells diff --git a/spikeinterface-jupyterlab/Dockerfile b/spikeinterface-jupyterlab/Dockerfile index dceed9a..51634d2 100644 --- a/spikeinterface-jupyterlab/Dockerfile +++ b/spikeinterface-jupyterlab/Dockerfile @@ -23,7 +23,9 @@ fix-permissions /srv/spikeinterface USER $NB_UID # update Anaconda and install pip -RUN conda update -y conda && \ +RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \ + conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r && \ + conda update -y conda && \ conda install -y pip # Conda installs