Skip to content

Commit 27b9220

Browse files
shnizzedynx10
andcommitted
🔀 Restore develop-1.8.6 changes
Ref #1916 (comment) Co-authored-by: Florian Rupprecht <[email protected]>
1 parent 5e97404 commit 27b9220

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/Dockerfiles/Ubuntu.bionic-non-free.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ RUN groupadd -r c-pac && \
107107
libxp-dev && \
108108
add-apt-repository --remove --yes ppa:zeehio/libxp && \
109109
apt-get update && \
110-
curl -sO https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.2-Linux-x86_64.sh && \
111-
bash Miniconda3-py37_4.8.2-Linux-x86_64.sh -b -p /usr/local/miniconda && \
112-
rm Miniconda3-py37_4.8.2-Linux-x86_64.sh && chmod -R 777 /usr/local/miniconda && \
110+
curl -sO https://repo.anaconda.com/miniconda/Miniconda3-py37_4.12.0-Linux-x86_64.sh && \
111+
bash Miniconda3-py37_4.12.0-Linux-x86_64.sh -b -p /usr/local/miniconda && \
112+
rm Miniconda3-py37_4.12.0-Linux-x86_64.sh && chmod -R 777 /usr/local/miniconda && \
113113
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
114114
echo $TZ > /etc/timezone && \
115115
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \

.github/Dockerfiles/Ubuntu.xenial-20200114.Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
FROM ghcr.io/fcp-indi/c-pac_templates:latest as c-pac_templates
12
FROM nipreps/fmriprep:20.2.1 as fmriprep
23
FROM ubuntu:xenial-20200114 AS dcan-hcp
34

@@ -14,6 +15,7 @@ RUN git clone -b 'v2.0.0' --single-branch --depth 1 https://github.com/DCAN-Labs
1415
FROM ubuntu:xenial-20200114
1516
LABEL org.opencontainers.image.description "NOT INTENDED FOR USE OTHER THAN AS A STAGE IMAGE IN A MULTI-STAGE BUILD \
1617
Ubuntu Xenial base image"
18+
LABEL org.opencontainers.image.source https://github.com/FCP-INDI/C-PAC
1719
ARG DEBIAN_FRONTEND=noninteractive
1820

1921
# create usergroup and user, set permissions, install curl
@@ -119,9 +121,9 @@ RUN apt-get update && \
119121
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
120122

121123
# Installing and setting up miniconda
122-
RUN curl -sSLO https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh && \
123-
bash Miniconda3-4.5.11-Linux-x86_64.sh -b -p /usr/local/miniconda && \
124-
rm Miniconda3-4.5.11-Linux-x86_64.sh && chmod -R 777 /usr/local/miniconda
124+
RUN curl -sSLO https://repo.continuum.io/miniconda/Miniconda3-py37_4.12.0-Linux-x86_64.sh && \
125+
bash Miniconda3-py37_4.12.0-Linux-x86_64.sh -b -p /usr/local/miniconda && \
126+
rm Miniconda3-py37_4.12.0-Linux-x86_64.sh && chmod -R 777 /usr/local/miniconda
125127

126128
# Set CPATH for packages relying on compiled libs (e.g. indexed_gzip)
127129
ENV PATH="/usr/local/miniconda/bin:$PATH" \
@@ -156,9 +158,13 @@ RUN pip install -r /opt/requirements.txt
156158
RUN pip install xvfbwrapper
157159

158160
# install cpac templates
159-
COPY --from=ghcr.io/fcp-indi/c-pac_templates:latest /cpac_templates /cpac_templates
161+
COPY --from=c-pac_templates /cpac_templates /cpac_templates
160162
COPY --from=dcan-hcp /opt/dcan-tools/pipeline/global /opt/dcan-tools/pipeline/global
161163

164+
# Installing surface files for downsampling
165+
COPY --from=c-pac_templates /opt/dcan-tools/pipeline/global/templates/standard_mesh_atlases/ /opt/dcan-tools/pipeline/global/templates/standard_mesh_atlases/
166+
COPY --from=c-pac_templates /opt/dcan-tools/pipeline/global/templates/Greyordinates/ /opt/dcan-tools/pipeline/global/templates/Greyordinates/
167+
162168
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
163169
RUN apt-get install git-lfs
164170
RUN git lfs install

0 commit comments

Comments
 (0)