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

Copying context has problems with symlinks and dot files #5

Closed
nigelgbanks opened this issue Feb 5, 2021 · 2 comments
Closed

Copying context has problems with symlinks and dot files #5

nigelgbanks opened this issue Feb 5, 2021 · 2 comments

Comments

@nigelgbanks
Copy link
Collaborator

Currently the plugin copies the build context to the build directory, and uses that when building rather than the source directory where the original Dockerfile resides, this copy really isn't needed and the Sync task in Gradle suffers from a number of issues, that can be avoided from not copying the build context to another folder.

@nigelgbanks
Copy link
Collaborator Author

nigelgbanks commented Feb 5, 2021

Looks like the original reason this was done as a work around for non-buildkit builds that rely on the Java implementation of the Docker Remote API as they have a bug such that the Dockerfile must be in the build context, and since we generate a new Dockerfile to accommodate non-buildkit builds we can't just go forward with that.

bmuschko/gradle-docker-plugin#772

@nigelgbanks
Copy link
Collaborator Author

Resolved on last release 0.0.3

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