neurodocker icon indicating copy to clipboard operation
neurodocker copied to clipboard

minify doesn't work as expected

Open sooyounga opened this issue 2 years ago • 4 comments

while working on #408, we ran into minify issue where mri_convert was not found after minify-ing we verified mri_convert is working before minify-ing

commands used:

neurodocker generate docker \
    --pkg-manager apt \
    --base-image debian:buster-slim \
    --freesurfer version=7.1.1 \
> freesurfer7.Dockerfile

docker build --tag freesurfer:7.1.1 --file freesurfer7.Dockerfile .
cmd1="mri_convert /home/T1.nii.gz /home/T1.mgz"
cmd2="mri_nu_correct.mni --i /home/T1.mgz --o /home/T1_N3.mgz --n 2"

docker run --rm -itd \
    --name fs \
    --security-opt=seccomp:unconfined \
    -v ${PWD}:/home \
    -v ${PWD}/freesurfer_license.txt:/opt/freesurfer-7.1.1/license.txt \
    -e FS_LICENSE="/opt/freesurfer-7.1.1/license.txt" \
    freesurfer:7.1.1
neurodocker minify \
    --container fs \
    --dir /opt/freesurfer-7.1.1/ \
    "$cmd1" "$cmd2"

sooyounga avatar Feb 17 '23 21:02 sooyounga

hi @sooyounga - does the file /opt/freesurfer-7.1.1/bin/mri_convert exist in the minified container?

kaczmarj avatar Apr 03 '23 16:04 kaczmarj

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 23 '23 01:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 06 '23 01:09 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Nov 07 '23 01:11 github-actions[bot]