It is now possible to use the Docker Remote API instead of the docker
command line tool. See the docs for more information (PR #10). This is particularly useful for users who do not have Docker installed locally.
- Fixed
addFile
accepting a copySpec as an argument (issue #4). addFile
now accepts the destination path as an optional second argument (default:/
)
- Fixed setting of a custom base image both through the plugin extension or a task property (issue #11).
- Fixed default base image detection based on project's
targetCompatibility
. - Added default base image for Java 8 (PR #9).
- Supply an external Dockerfile instead of defining it in the build script. See the docs (issue #13).
- Mix and match loading external Dockerfiles and extending in the build script.
The plugin is now compatible with Gradle 2.0 (see the docs if you are using Gradle 1.x)
- Possible to set docker image tag version to something else than :latest (PR #5).
- Fixed setting of the image tag name and version (issue #15).
Many thanks to the contributors
- Possible to build without specifying group.
- Failing gradle build if Docker execution fails.
Many thanks to the contributors:
- Support for more Dockerfile commands:
- WORKDIR
- VOLUME
- ENV
- Add any raw Dockerfile command.
- Set path to docker binary per task or globally.
- Switched to official dockerfile/java base image as default.
- Fixed path seperator bug for integration testing on Windows.
Many thanks to the contributors:
Initial public release
- Task type "Docker" to:
- create Dockerfiles
- build a Docker image from above Dockerfile
- push the Docker image to the privat or public index
- Convention task "distDocker" to build an image from the gradle applicationDistribution
- Plugin extension to apply configuration to all Docker tasks