Skip to content

Commit

Permalink
0.3.x: Change permissions of miniconda folders in Dockerfile (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Feb 10, 2023
1 parent 665840c commit 5eac828
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {} + && \
Expand All @@ -21,7 +24,6 @@ WORKDIR /tmp/

ENTRYPOINT ["/usr/local/miniconda/bin/xcp_d"]


ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5eac828

Please sign in to comment.