We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a9e16 commit dd9372aCopy full SHA for dd9372a
1 file changed
docker2singularity.sh
@@ -270,8 +270,11 @@ chmod +x $build_sandbox/.singularity.d/runscript;
270
echo "(5/10) Setting ENV variables..."
271
272
# First add templates for actions and env
273
-cp -R /scripts/env $build_sandbox/.singularity.d/
274
-cp -R /scripts/actions $build_sandbox/.singularity.d/
+## Removed to avoid permissions issue with scripts (see #66)
+## cp -R /scripts/env $build_sandbox/.singularity.d/
275
+## cp -R /scripts/actions $build_sandbox/.singularity.d/
276
+# Create env scripts directory
277
+mkdir $build_sandbox/.singularity.d/env; chmod 755 $build_sandbox/.singularity.d/env
278
279
# Then customize by adding Docker variables
280
docker run --rm --entrypoint="/usr/bin/env" $image > $TMPDIR/docker_environment
0 commit comments