2
2
#
3
3
# MIT License
4
4
#
5
- # Copyright (c) 2022 The NiPreps Developers
5
+ # Copyright (c) The NiPreps Developers
6
6
#
7
7
# Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
# of this software and associated documentation files (the "Software"), to deal
23
23
# SOFTWARE.
24
24
25
25
# Ubuntu 22.04 LTS - Jammy
26
- ARG BASE_IMAGE=ubuntu:jammy-20230308
26
+ ARG BASE_IMAGE=ubuntu:jammy-20240125
27
27
28
28
#
29
29
# Build wheel
@@ -42,7 +42,7 @@ RUN python -m build /src
42
42
# Utilities for downloading packages
43
43
FROM ${BASE_IMAGE} as downloader
44
44
# Bump the date to current to refresh curl/certificates/etc
45
- RUN echo "2023.12.12 "
45
+ RUN echo "2024.03.08 "
46
46
RUN apt-get update && \
47
47
apt-get install -y --no-install-recommends \
48
48
binutils \
@@ -61,7 +61,7 @@ RUN curl -sSL https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.3.2/frees
61
61
# AFNI
62
62
FROM downloader as afni
63
63
# Bump the date to current to update AFNI
64
- RUN echo "2023.07.20 "
64
+ RUN echo "2024.03.08 "
65
65
RUN mkdir -p /opt/afni-latest \
66
66
&& curl -fsSL --retry 5 https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz \
67
67
| tar -xz -C /opt/afni-latest --strip-components 1 \
@@ -81,9 +81,16 @@ RUN mkdir -p /opt/afni-latest \
81
81
82
82
# Micromamba
83
83
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
+
84
91
WORKDIR /
85
92
# Bump the date to current to force update micromamba
86
- RUN echo "2023.04.05 "
93
+ RUN echo "2024.03.08 "
87
94
RUN curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
88
95
89
96
ENV MAMBA_ROOT_PREFIX="/opt/conda"
0 commit comments