Skip to content

Commit 12d1b08

Browse files
committed
docker: Install petpvc from conda-forge
1 parent 5a92cca commit 12d1b08

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

Dockerfile

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ RUN apt-get update && \
5050
unzip && \
5151
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
5252

53-
# FreeSurfer 7.4.1
54-
# FROM downloader AS freesurfer
55-
# COPY docker/files/freesurfer7.4.1-exclude.txt /usr/local/etc/freesurfer7.4.1-exclude.txt
56-
# RUN curl -sSL https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.4.1/freesurfer-linux-ubuntu22_amd64-7.4.1.tar.gz \
57-
# | tar zxv --no-same-owner -C /opt --exclude-from=/usr/local/etc/freesurfer7.4.1-exclude.txt
58-
5953
# AFNI
6054
FROM downloader AS afni
6155
# Bump the date to current to update AFNI
@@ -76,16 +70,6 @@ RUN mkdir -p /opt/afni-latest \
7670
-name "3dAutomask" -or \
7771
\) -delete
7872

79-
# PETPVC
80-
FROM downloader AS petpvc
81-
RUN apt-get update && \
82-
apt-get install -y --no-install-recommends ca-certificates curl libinsighttoolkit5.2 && \
83-
rm -rf /var/lib/apt/lists/* && \
84-
curl -fsSL https://github.com/UCL/PETPVC/releases/download/v1.2.10/PETPVC-1.2.10-Linux.tar.gz \
85-
| tar -xz -C /usr/local --strip-components=1 \
86-
PETPVC-1.2.10/bin PETPVC-1.2.10/parc && \
87-
rm -rf /tmp/* /var/tmp/*
88-
8973
# Micromamba
9074
FROM downloader AS micromamba
9175

@@ -168,7 +152,6 @@ RUN apt-get update -qq \
168152
# Install files from stages
169153
COPY --from=freesurfer/freesurfer:7.4.1 /usr/local/freesurfer /opt/freesurfer
170154
COPY --from=afni /opt/afni-latest /opt/afni-latest
171-
COPY --from=petpvc /usr/local /usr/local
172155

173156
# Simulate SetUpFreeSurfer.sh
174157
ENV OS="Linux" \

env.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ dependencies:
2929
- ants=2.6
3030
# Workflow dependencies: Connectome Workbench
3131
- connectome-workbench-cli=2.0
32+
# Workflow dependencies: PETPVC
33+
- petpvc=1.2
3234
# Workflow dependencies: FSL (versions pinned in 6.0.7.17.20250415.fe1c582e)
3335
- fsl-fast4=2111.3
3436
- fsl-miscmaths=2412.4

0 commit comments

Comments
 (0)