Skip to content

Commit 4fbabcf

Browse files
committed
Avoid using python:3.13-slim because of missing compiler errors
1 parent 3043a39 commit 4fbabcf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3-slim AS builder
1+
FROM python:3.12-slim AS builder
22

33
# Install the latest dcm2niix from sources
44
# Or install the latest dcm2niix release from the base repository (= typically outdated)
@@ -29,7 +29,7 @@ RUN mkdir -p /opt/miniconda3; \
2929
/opt/fsl/bin/conda-unpack
3030

3131

32-
FROM python:3-slim
32+
FROM python:3.12-slim
3333

3434
# Install the dcm2niix build. NB: Obsolete with the new `pip install bidscoin[dcm2niix2bids]` extras option
3535
COPY --from=builder /usr/local/bin/dcm2niix /usr/local/bin/dcm2niix

apptainer.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Bootstrap: docker
2-
From: python:3-slim
2+
From: python:3.12-slim
33
Stage: builder
44

55
%post
@@ -40,7 +40,7 @@ Stage: builder
4040

4141

4242
Bootstrap: docker
43-
From: python:3-slim
43+
From: python:3.12-slim
4444
Stage: final
4545

4646
%help

0 commit comments

Comments
 (0)