Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy files (instead of git clone) on container build #55

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading