Skip to content

Commit

Permalink
Merge pull request #55 from mslw/def-no-clone
Browse files Browse the repository at this point in the history
Copy files (instead of git clone) on container build
  • Loading branch information
mslw authored Aug 12, 2024
2 parents e8e8e09 + 07d41e3 commit 050d6f1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions singularity/icf.def
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ From: debian:bookworm-slim
%help
INM ICF utilities.

%files
./bin /inm-icf-utils/bin
./assets /inm-icf-utils/assets
./requirements-devel.txt /inm-icf-utils/requirements-devel.txt
README.md /inm-icf-utils/README.md
LICENSE /inm-icf-utils/LICENSE

%post
# install all non-datalad deps from Debian proper
Expand All @@ -20,9 +26,7 @@ From: debian:bookworm-slim
# datalad-installer cannot install outside /tmp, which will not make it
# into the final image, move
mv $(cut -d = -f 2 < /tmp/dlinstaller_env.sh | cut -d : -f 1) /git-annex
# the inm-icf-utilities
git clone https://github.com/psychoinformatics-de/inm-icf-utilities.git /inm-icf-utils
# and the inm-icf-utilities dependencies
# the inm-icf-utilities dependencies
python3 -m pip install --break-system-packages -r /inm-icf-utils/requirements-devel.txt
# enable "next" extension for patching datalad core, done inside the image, not
# for a particular user
Expand Down

0 comments on commit 050d6f1

Please sign in to comment.