Skip to content

Commit fbe524d

Browse files
committed
Dockerfile - use bullseye for the base and fresh dcm2niix
1 parent a1f63de commit fbe524d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Generated by Neurodocker version 0.4.2-3-gf7055a1
2-
# Timestamp: 2022-04-04 17:55:39 UTC
2+
# Timestamp: 2022-04-06 17:10:29 UTC
33
#
44
# Thank you for using Neurodocker. If you discover any issues
55
# or ways to improve this software, please submit an issue or
66
# pull request on our GitHub repository:
77
#
88
# https://github.com/kaczmarj/neurodocker
99

10-
FROM neurodebian:stretch
10+
FROM neurodebian:bullseye
1111

1212
ARG DEBIAN_FRONTEND="noninteractive"
1313

@@ -39,7 +39,7 @@ RUN export ND_ENTRYPOINT="/neurodocker/startup.sh" \
3939

4040
ENTRYPOINT ["/neurodocker/startup.sh"]
4141

42-
ENV PATH="/opt/dcm2niix-v1.0.20190410/bin:$PATH"
42+
ENV PATH="/opt/dcm2niix-v1.0.20211006/bin:$PATH"
4343
RUN apt-get update -qq \
4444
&& apt-get install -y -q --no-install-recommends \
4545
cmake \
@@ -54,10 +54,10 @@ RUN apt-get update -qq \
5454
&& git clone https://github.com/rordenlab/dcm2niix /tmp/dcm2niix \
5555
&& cd /tmp/dcm2niix \
5656
&& git fetch --tags \
57-
&& git checkout v1.0.20190410 \
57+
&& git checkout v1.0.20211006 \
5858
&& mkdir /tmp/dcm2niix/build \
5959
&& cd /tmp/dcm2niix/build \
60-
&& cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/dcm2niix-v1.0.20190410 .. \
60+
&& cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/dcm2niix-v1.0.20211006 .. \
6161
&& make \
6262
&& make install \
6363
&& rm -rf /tmp/dcm2niix
@@ -110,12 +110,12 @@ RUN echo '{ \
110110
\n "instructions": [ \
111111
\n [ \
112112
\n "base", \
113-
\n "neurodebian:stretch" \
113+
\n "neurodebian:bullseye" \
114114
\n ], \
115115
\n [ \
116116
\n "dcm2niix", \
117117
\n { \
118-
\n "version": "v1.0.20190410", \
118+
\n "version": "v1.0.20211006", \
119119
\n "method": "source" \
120120
\n } \
121121
\n ], \

utils/gen-docker-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ VER=$(grep -Po '(?<=^__version__ = ).*' ../heudiconv/info.py | sed 's/"//g')
66

77
image="kaczmarj/neurodocker:master@sha256:936401fe8f677e0d294f688f352cbb643c9693f8de371475de1d593650e42a66"
88

9-
docker run --rm $image generate docker -b neurodebian:stretch -p apt \
10-
--dcm2niix version=v1.0.20190410 method=source \
9+
docker run --rm $image generate docker -b neurodebian:bullseye -p apt \
10+
--dcm2niix version=v1.0.20211006 method=source \
1111
--install git gcc pigz liblzma-dev libc-dev git-annex-standalone netbase \
1212
--copy . /src/heudiconv \
1313
--miniconda use_env=base conda_install="python=3.7 traits>=4.6.0 scipy numpy nomkl pandas" \

0 commit comments

Comments
 (0)