singularity-cli icon indicating copy to clipboard operation
singularity-cli copied to clipboard

[BUG] spython recipe COPY --chown from Dockerfile is not supported

Open ReHoss opened this issue 1 year ago • 3 comments

Using spython recipe to transform a Dockerfile, the following instruction is wrongly translated COPY --chown=user:group

ReHoss avatar Sep 15 '24 15:09 ReHoss

We definitely don't have support for that. How would a custom user make sense in a Singularity container? You'll always be running as your user.

vsoch avatar Sep 16 '24 02:09 vsoch

Indeed, I am not sure yet if it does make sense to do that, I have to dive into Singularity again. However, right now the option --chown=user:goup is not recognised as is by spython recipe but is silently considered as a directory. A warning or an error should be triggered.

Best,

ReHoss avatar Sep 16 '24 07:09 ReHoss

If you’d like to contribute a PR to address this (likely just searching for it and filtering it out) it would be appreciated.

vsoch avatar Sep 16 '24 07:09 vsoch

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 04:04 stale[bot]