Islandora-Devops/isle-gradle-docker-plugin

Copying context has problems with symlinks and dot files

nigelgbanks opened this issue · 2 comments

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.

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

Resolved on last release 0.0.3