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

Docs: Dockerfile: Updated the ADD statement #890

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

andersonpem
Copy link
Contributor

Hello fellow devs. Just a small contribution.

The ADD statement in Dockerfiles now supports both chown and chmod flags.
This makes images less polluted and less repetitive. DRY to the win. :)

As this was merged a long time ago in Moby, backwards compatibility isn't likely to be an issue.
moby/moby#34263

Docs:
https://docs.docker.com/engine/reference/builder/#add

@andersonpem andersonpem changed the title Dockerfile: Updated the ADD statement Docs: Dockerfile: Updated the ADD statement Feb 13, 2024
@mlocati mlocati merged commit bddbbfc into mlocati:master Feb 13, 2024
39 checks passed
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

Successfully merging this pull request may close these issues.

2 participants