Skip to content

Commit 9aadcb8

Browse files
committed
MNT: Update Dockerfile
1 parent 53be4da commit 9aadcb8

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

Dockerfile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# MIT License
44
#
5-
# Copyright (c) 2022 The NiPreps Developers
5+
# Copyright (c) The NiPreps Developers
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
2323
# SOFTWARE.
2424

2525
# Ubuntu 22.04 LTS - Jammy
26-
ARG BASE_IMAGE=ubuntu:jammy-20230308
26+
ARG BASE_IMAGE=ubuntu:jammy-20240125
2727

2828
#
2929
# Build wheel
@@ -42,7 +42,7 @@ RUN python -m build /src
4242
# Utilities for downloading packages
4343
FROM ${BASE_IMAGE} as downloader
4444
# Bump the date to current to refresh curl/certificates/etc
45-
RUN echo "2023.12.12"
45+
RUN echo "2024.03.08"
4646
RUN apt-get update && \
4747
apt-get install -y --no-install-recommends \
4848
binutils \
@@ -61,7 +61,7 @@ RUN curl -sSL https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.3.2/frees
6161
# AFNI
6262
FROM downloader as afni
6363
# Bump the date to current to update AFNI
64-
RUN echo "2023.07.20"
64+
RUN echo "2024.03.08"
6565
RUN mkdir -p /opt/afni-latest \
6666
&& curl -fsSL --retry 5 https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz \
6767
| tar -xz -C /opt/afni-latest --strip-components 1 \
@@ -81,9 +81,16 @@ RUN mkdir -p /opt/afni-latest \
8181

8282
# Micromamba
8383
FROM downloader as micromamba
84+
85+
# Install a C compiler to build extensions when needed.
86+
# traits<6.4 wheels are not available for Python 3.11+, but build easily.
87+
RUN apt-get update && \
88+
apt-get install -y --no-install-recommends build-essential && \
89+
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
90+
8491
WORKDIR /
8592
# Bump the date to current to force update micromamba
86-
RUN echo "2023.04.05"
93+
RUN echo "2024.03.08"
8794
RUN curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
8895

8996
ENV MAMBA_ROOT_PREFIX="/opt/conda"

0 commit comments

Comments
 (0)