Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM python:3.9-slim@sha256:5f0192a4f58a6ce99f732fe05e3b3d00f12ae62e183886bca3ebe3d202686c7f
FROM python:3.12-slim-bookworm@sha256:bc01d00b6417e4b1b01c331db3a14054b4be954e571ef8bf5748aaf64b66e941

ENV PATH /usr/local/bin:$PATH
ENV PYTHON_VERSION 3.9.17
ENV PYTHON_VERSION 3.12.15

RUN \
adduser --system --disabled-password --shell /bin/bash vscode && \
adduser --system --home /home/vscode --disabled-password --shell /bin/bash vscode && \
# install docker
apt-get update && \
apt-get install ca-certificates curl gnupg lsb-release -y && \
Expand Down Expand Up @@ -32,7 +32,8 @@ COPY ./ /tmp/element-array-ephys/
RUN \
# pipeline dependencies
apt-get install gcc g++ ffmpeg libsm6 libxext6 -y && \
pip install --no-cache-dir -e /tmp/element-array-ephys[elements,tests] && \
# datajoint 2 drops dj.schema; setuptools 82+ drops pkg_resources (used by datajoint<2)
pip install --no-cache-dir -e "/tmp/element-array-ephys[elements,tests]" "datajoint<2" "setuptools<82" && \
# clean up
rm -rf /tmp/element-array-ephys && \
apt-get clean
Expand Down
Loading