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

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

Open
ReHoss opened this issue Sep 15, 2024 · 3 comments
Open

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

ReHoss opened this issue Sep 15, 2024 · 3 comments

Comments

@ReHoss
Copy link

ReHoss commented Sep 15, 2024

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

@vsoch
Copy link
Member

vsoch commented Sep 16, 2024

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.

@ReHoss
Copy link
Author

ReHoss commented Sep 16, 2024

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,

@vsoch
Copy link
Member

vsoch commented Sep 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants