File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ FROM nvidia/cuda:12.0.0-base-ubuntu20.04
22
33LABEL maintainer="Alessio Buccino <alessiop.buccino@gmail.com>"
44
5+ ENV KILOSORT4_VERSION=4.0.30
6+
7+
58# USER root
69# Ubuntu package installs
710RUN apt update && \
@@ -35,4 +38,4 @@ RUN conda init bash
3538RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
3639
3740# install kilosort4
38- RUN pip install kilosort==4.0.18
41+ RUN pip install kilosort==$KILOSORT4_VERSION
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- docker build -t spikeinterface/kilosort4-base:latest -t spikeinterface/kilosort4-base:4.0.18_cuda-12.0.0 .
3+ # Extract the KILOSORT4_VERSION from the Dockerfile
4+ KILOSORT4_VERSION=$( grep -E ' ^ENV KILOSORT4_VERSION=' " Dockerfile" | awk -F= ' {print $2}' | tr -d ' [:space:]' )
5+ echo " Building kilosort4-base:$KILOSORT4_VERSION "
6+
7+ docker build -t spikeinterface/kilosort4-base:latest -t spikeinterface/kilosort4-base:${KILOSORT4_VERSION} _cuda-12.0.0 .
You can’t perform that action at this time.
0 commit comments