Skip to content

Ignore all but specified files #1105

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

Merged
merged 2 commits into from
Sep 26, 2018
Merged

Ignore all but specified files #1105

merged 2 commits into from
Sep 26, 2018

Conversation

joerwin
Copy link
Contributor

@joerwin joerwin commented Sep 24, 2018

Somewhere after version 2.2.1 docker-java stopped working with .dockerignore files that ignored all files and directories except for a few specified.

We only needed a couple files or directories to be submitted to the docker server for build and found it much easier to ignore all but a few files.

This PR includes a unit test for such a case and the fix to address the problem.


This change is Reviewable

@KostyaSha KostyaSha added this to the 3.1.0-rc-6 milestone Sep 26, 2018
@KostyaSha KostyaSha merged commit a097fac into docker-java:master Sep 26, 2018
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