From 5eac8283708092e4497a07c4528f547cf3c85deb Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Fri, 10 Feb 2023 14:44:48 -0500 Subject: [PATCH] 0.3.x: Change permissions of miniconda folders in Dockerfile (#795) --- Dockerfile | 8 +++++--- setup.cfg | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c82e7580b..baa3b5c2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,11 @@ ARG VERSION=0.0.1 # Force static versioning within container RUN echo "${VERSION}" > /src/xcp_d/xcp_d/VERSION && \ echo "include xcp_d/VERSION" >> /src/xcp_d/MANIFEST.in && \ - pip install --no-cache-dir "/src/xcp_d[all]" - + pip install --no-cache-dir "/src/xcp_d[all]" && \ + chmod -R a+rX /usr/local/miniconda; sync && \ + chmod +x /usr/local/miniconda/bin/*; sync && \ + conda clean -y --all && sync && \ + conda clean -tipsy && sync RUN find $HOME -type d -exec chmod go=u {} + && \ find $HOME -type f -exec chmod go=u {} + && \ @@ -21,7 +24,6 @@ WORKDIR /tmp/ ENTRYPOINT ["/usr/local/miniconda/bin/xcp_d"] - ARG BUILD_DATE ARG VCS_REF ARG VERSION diff --git a/setup.cfg b/setup.cfg index 34ab1cc3e..0d92f1e35 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,7 @@ install_requires = indexed_gzip ~= 1.6.4 # for loading imgs in nibabel jinja2 ~= 3.0.0 # for executive summary matplotlib ~= 3.3.4 + networkx ~= 2.8.8 # nipype needs networkx, but 3+ isn't compatible with nipype 1.8.5 nibabel >= 3.2.1 nilearn ~= 0.9.2 nipype ~= 1.8.5