Skip to content

Commit cd6da08

Browse files
authored
MAINT: Bump container python to 3.9 (#221)
1 parent ee71d6e commit cd6da08

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,12 @@ RUN useradd -m -s /bin/bash -G users nibabies
260260
WORKDIR /home/nibabies
261261
ENV HOME="/home/nibabies"
262262

263-
COPY --from=nipreps/miniconda@sha256:ebbff214e6c9dc50ccc6fdbe679df1ffcbceaa45b47a75d6e34e8a064ef178da /opt/conda /opt/conda
263+
# py39_0525.0
264+
COPY --from=nipreps/miniconda@sha256:40fffd37963502dcd8549773559fc21182f52460e59e0ad6398a84faf6055641 /opt/conda /opt/conda
264265

265-
# Installing and setting up miniconda
266-
RUN curl -sSLO https://repo.continuum.io/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh && \
267-
bash Miniconda3-py38_4.9.2-Linux-x86_64.sh -b -p /usr/local/miniconda && \
268-
rm Miniconda3-py38_4.9.2-Linux-x86_64.sh
266+
RUN ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
267+
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
268+
echo "conda activate base" >> ~/.bashrc
269269

270270
# Set CPATH for packages relying on compiled libs (e.g. indexed_gzip)
271271
ENV PATH="/opt/conda/bin:$PATH" \

wrapper/nibabies_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
MISSING = """
2727
Image '{}' is missing
2828
Would you like to download? [Y/n] """
29-
PKG_PATH = "/opt/conda/lib/python3.8/site-packages"
29+
PKG_PATH = "/opt/conda/lib/python3.9/site-packages"
3030
TF_TEMPLATES = (
3131
"MNI152Lin",
3232
"MNI152NLin2009cAsym",

0 commit comments

Comments
 (0)