File tree Expand file tree Collapse file tree 6 files changed +17
-5
lines changed Expand file tree Collapse file tree 6 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -110,3 +110,5 @@ jobs:
110
110
platforms : linux/amd64
111
111
tags : ${{ vars.DOCKERHUB_USERNAME }}/sopa:${{ env.VERSION }}${{ matrix.extra-name }}
112
112
context : ./docker/sopa${{ matrix.extra-name }}
113
+ build-args : |
114
+ SOPA_VERSION=${{ env.VERSION }}
Original file line number Diff line number Diff line change 1
1
FROM python:3.10-slim
2
2
3
+ ARG SOPA_VERSION
4
+
3
5
RUN apt-get update && apt-get install -y wget unzip procps && apt-get clean && rm -rf /var/lib/apt/lists/*
4
6
5
7
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
@@ -8,6 +10,6 @@ ENV PATH="/opt/baysor/bin:${PATH}"
8
10
# to avoid permission issues with the numba cache
9
11
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
10
12
11
- RUN pip install --no-cache-dir sopa[baysor]
13
+ RUN pip install --no-cache-dir sopa[baysor]==${SOPA_VERSION}
12
14
13
15
ENV PYTHONUNBUFFERED=1
Original file line number Diff line number Diff line change 1
1
FROM python:3.10-slim
2
2
3
+ ARG SOPA_VERSION
4
+
3
5
# needed for the open-cv dependency
4
6
RUN apt-get update && apt-get install -y \
5
7
ffmpeg \
@@ -11,6 +13,6 @@ RUN apt-get update && apt-get install -y \
11
13
# to avoid permission issues with the numba cache
12
14
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
13
15
14
- RUN pip install --no-cache-dir sopa[cellpose]
16
+ RUN pip install --no-cache-dir sopa[cellpose]==${SOPA_VERSION}
15
17
16
18
ENV PYTHONUNBUFFERED=1
Original file line number Diff line number Diff line change @@ -4,13 +4,15 @@ RUN cargo install proseg
4
4
5
5
FROM python:3.10-slim
6
6
7
+ ARG SOPA_VERSION
8
+
7
9
COPY --from=rust-builder /usr/local/cargo/bin/proseg /usr/local/bin/proseg
8
10
9
11
RUN apt-get update && apt-get install -y procps && apt-get clean && rm -rf /var/lib/apt/lists/*
10
12
11
13
# to avoid permission issues with the numba cache
12
14
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
13
15
14
- RUN pip install --no-cache-dir sopa
16
+ RUN pip install --no-cache-dir sopa==${SOPA_VERSION}
15
17
16
18
ENV PYTHONUNBUFFERED=1
Original file line number Diff line number Diff line change 1
1
FROM python:3.10-slim
2
2
3
+ ARG SOPA_VERSION
4
+
3
5
# needed for the open-cv dependency
4
6
RUN apt-get update && apt-get install -y \
5
7
ffmpeg \
@@ -11,6 +13,6 @@ RUN apt-get update && apt-get install -y \
11
13
# to avoid permission issues with the numba cache
12
14
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
13
15
14
- RUN pip install --no-cache-dir sopa[stardist]
16
+ RUN pip install --no-cache-dir sopa[stardist]==${SOPA_VERSION}
15
17
16
18
ENV PYTHONUNBUFFERED=1
Original file line number Diff line number Diff line change 1
1
FROM python:3.10-slim
2
2
3
+ ARG SOPA_VERSION
4
+
3
5
# needed for the open-cv dependency
4
6
RUN apt-get update && apt-get install -y \
5
7
ffmpeg \
@@ -11,6 +13,6 @@ RUN apt-get update && apt-get install -y \
11
13
# to avoid permission issues with the numba cache
12
14
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
13
15
14
- RUN pip install --no-cache-dir sopa
16
+ RUN pip install --no-cache-dir sopa==${SOPA_VERSION}
15
17
16
18
ENV PYTHONUNBUFFERED=1
You can’t perform that action at this time.
0 commit comments