11FROM nvidia/cuda:10.0-base-ubuntu18.04
22
3- LABEL maintainer="Vincent Prevosto <prevosto@mit.edu >"
3+ LABEL maintainer="Alessio Buccino <alessiop.buccino@gmail.com >"
44
55# USER root
66# Ubuntu package installs
@@ -13,9 +13,10 @@ RUN apt update && \
1313 rm -rf /var/lib/apt/lists/*
1414
1515# install miniconda
16- ENV MINICONDA_VERSION 4.12.0
16+ ENV MINICONDA_VERSION 23.3.1-0
17+ ENV PY_VERSION py39
1718ENV CONDA_DIR /home/miniconda3
18- ENV LATEST_CONDA_SCRIPT "Miniconda3-py38_$ MINICONDA_VERSION-Linux-x86_64.sh"
19+ ENV LATEST_CONDA_SCRIPT "Miniconda3-${PY_VERSION}_${ MINICONDA_VERSION} -Linux-x86_64.sh"
1920
2021RUN wget --quiet https://repo.anaconda.com/miniconda/$LATEST_CONDA_SCRIPT -O ~/miniconda.sh && \
2122 bash ~/miniconda.sh -b -p $CONDA_DIR && \
@@ -30,13 +31,12 @@ RUN echo ". $CONDA_DIR/etc/profile.d/conda.sh" >> /root/.profile
3031RUN conda init bash
3132
3233# Install IBL python port of pykilosort
33- RUN git clone https://github.com/int-brain-lab/pykilosort.git /src/pykilosort
34+ RUN git clone -b 1.4.3 https://github.com/int-brain-lab/pykilosort.git /src/pykilosort
3435WORKDIR /src/pykilosort
3536
3637# modify env file so that env extends on base
3738RUN sed -i "s/pyks2/base/" pyks2.yml
3839RUN sed -i "s/- spikeinterface//" pyks2.yml
39- RUN cat pyks2.yml
4040
4141# Create environment
4242RUN conda env update --name base --file pyks2.yml --prune
@@ -46,8 +46,5 @@ RUN conda install --quiet --yes ipykernel && \
4646 python -m ipykernel install --user --display-name "pyKilosort" && \
4747 conda develop .
4848
49- # install phylib from master because of read-only bug (https://github.com/cortex-lab/phylib/pull/35)
50- RUN pip uninstall -y phylib && pip install git+https://github.com/cortex-lab/phylib.git
51-
5249# --name pyks2
5350WORKDIR /
0 commit comments