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

Support for chmod flag in copy primitive #449

Open
jmuppave opened this issue Feb 7, 2023 · 0 comments
Open

Support for chmod flag in copy primitive #449

jmuppave opened this issue Feb 7, 2023 · 0 comments

Comments

@jmuppave
Copy link

jmuppave commented Feb 7, 2023

Support for chmod flag in copy primitive.

New dockerfiles support:
COPY --chmod=0755 src dest

Simple addition of below code in copy primitive will enable it:
if self.__chmod: base_inst = base_inst + '--chmod={} '.format(self.__chmod)

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