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

dockerfile: Support --chmod with non-octal notation -> didn't works & doc not updated #5611

Open
anthosz opened this issue Dec 23, 2024 · 0 comments

Comments

@anthosz
Copy link

anthosz commented Dec 23, 2024

Dear all,

According to #1951, it seems fixed.

But the documentation is not updated: https://docs.docker.com/reference/dockerfile/#copy---chown---chmod

Moreover, if I try via:
COPY --from=npm --chown=XXX:XXX --chmod=u=rwX,g=rX /tmp /tmp

I receive this issue:
failed to solve: invalid chmod parameter: 'u=rwX,g=rX'. it should be octal string and between 0 and 07777

I'm using docker 27.4.1 with buildkit v0.17.3.

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

1 participant