Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,5 @@ jobs:
platforms: linux/amd64
tags: ${{ vars.DOCKERHUB_USERNAME }}/sopa:${{ env.VERSION }}${{ matrix.extra-name }}
context: ./docker/sopa${{ matrix.extra-name }}
build-args: |
SOPA_VERSION=${{ env.VERSION }}
4 changes: 3 additions & 1 deletion docker/sopa-baysor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.10-slim

ARG SOPA_VERSION

RUN apt-get update && apt-get install -y wget unzip procps && apt-get clean && rm -rf /var/lib/apt/lists/*

RUN cd /tmp && wget 'https://github.com/kharchenkolab/Baysor/releases/download/v0.7.1/baysor-x86_x64-linux-v0.7.1_build.zip' && unzip baysor-x86_x64-linux-v0.7.1_build.zip && mv ./bin/baysor /opt/ && rm ./baysor-x86_x64-linux-v0.7.1_build.zip
Expand All @@ -8,6 +10,6 @@ ENV PATH="/opt/baysor/bin:${PATH}"
# to avoid permission issues with the numba cache
ENV NUMBA_CACHE_DIR=/tmp/numba_cache

RUN pip install --no-cache-dir sopa[baysor]
RUN pip install --no-cache-dir sopa[baysor]==${SOPA_VERSION}

ENV PYTHONUNBUFFERED=1
4 changes: 3 additions & 1 deletion docker/sopa-cellpose/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.10-slim

ARG SOPA_VERSION

# needed for the open-cv dependency
RUN apt-get update && apt-get install -y \
ffmpeg \
Expand All @@ -11,6 +13,6 @@ RUN apt-get update && apt-get install -y \
# to avoid permission issues with the numba cache
ENV NUMBA_CACHE_DIR=/tmp/numba_cache

RUN pip install --no-cache-dir sopa[cellpose]
RUN pip install --no-cache-dir sopa[cellpose]==${SOPA_VERSION}

ENV PYTHONUNBUFFERED=1
4 changes: 3 additions & 1 deletion docker/sopa-proseg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ RUN cargo install proseg

FROM python:3.10-slim

ARG SOPA_VERSION

COPY --from=rust-builder /usr/local/cargo/bin/proseg /usr/local/bin/proseg

RUN apt-get update && apt-get install -y procps && apt-get clean && rm -rf /var/lib/apt/lists/*

# to avoid permission issues with the numba cache
ENV NUMBA_CACHE_DIR=/tmp/numba_cache

RUN pip install --no-cache-dir sopa
RUN pip install --no-cache-dir sopa==${SOPA_VERSION}

ENV PYTHONUNBUFFERED=1
4 changes: 3 additions & 1 deletion docker/sopa-stardist/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.10-slim

ARG SOPA_VERSION

# needed for the open-cv dependency
RUN apt-get update && apt-get install -y \
ffmpeg \
Expand All @@ -11,6 +13,6 @@ RUN apt-get update && apt-get install -y \
# to avoid permission issues with the numba cache
ENV NUMBA_CACHE_DIR=/tmp/numba_cache

RUN pip install --no-cache-dir sopa[stardist]
RUN pip install --no-cache-dir sopa[stardist]==${SOPA_VERSION}

ENV PYTHONUNBUFFERED=1
4 changes: 3 additions & 1 deletion docker/sopa/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.10-slim

ARG SOPA_VERSION

# needed for the open-cv dependency
RUN apt-get update && apt-get install -y \
ffmpeg \
Expand All @@ -11,6 +13,6 @@ RUN apt-get update && apt-get install -y \
# to avoid permission issues with the numba cache
ENV NUMBA_CACHE_DIR=/tmp/numba_cache

RUN pip install --no-cache-dir sopa
RUN pip install --no-cache-dir sopa==${SOPA_VERSION}

ENV PYTHONUNBUFFERED=1
Loading