Skip to content

Ignore all but specified files - #1105

Merged
KostyaSha merged 2 commits into
docker-java:masterfrom
joerwin:master
Sep 26, 2018
Merged

Ignore all but specified files#1105
KostyaSha merged 2 commits into
docker-java:masterfrom
joerwin:master

Conversation

@joerwin

@joerwin joerwin commented Sep 24, 2018

Copy link
Copy Markdown
Contributor

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