8000 proposal: COPY add --exclude flag · Issue #4309 · earthly/earthly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

proposal: COPY add --exclude flag #4309

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

Open
kallisti5 opened this issue Nov 13, 2024 · 0 comments
Open

proposal: COPY add --exclude flag #4309

kallisti5 opened this issue Nov 13, 2024 · 0 comments
Labels
type:proposal A proposal for a new feature

Comments

@kallisti5
Copy link

Use case

It's handy to be able to exclude specific directories when doing a COPY command. For example:

COPY . .

The above command would potentially get output files from the OUTPUT ARTIFACT ... AS LOCAL ... command. If COPY got the --exclude arg (which actually exists in Docker today), you could exclude binaries and other potential sources of unwanted data.

Expected Behavior

COPY --exclude output*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:proposal A proposal for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant
0