Skip to content

Commit

Permalink
Avoid using python:3.13-slim because of missing compiler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Oct 29, 2024
1 parent 3043a39 commit 4fbabcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3-slim AS builder
FROM python:3.12-slim AS builder

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


FROM python:3-slim
FROM python:3.12-slim

# Install the dcm2niix build. NB: Obsolete with the new `pip install bidscoin[dcm2niix2bids]` extras option
COPY --from=builder /usr/local/bin/dcm2niix /usr/local/bin/dcm2niix
Expand Down
4 changes: 2 additions & 2 deletions apptainer.def
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Bootstrap: docker
From: python:3-slim
From: python:3.12-slim
Stage: builder

%post
Expand Down Expand Up @@ -40,7 +40,7 @@ Stage: builder


Bootstrap: docker
From: python:3-slim
From: python:3.12-slim
Stage: final

%help
Expand Down

0 comments on commit 4fbabcf

Please sign in to comment.