- Add support for build-time variables in
DockerBuildImage
task - Pull request 240 - Fix incorrect docker-java method name in
DockerCreateContainer
task - Pull request 242 - Can define devices on
DockerCreateContainer
task - Pull request 245
- Simplify Gradle TestKit usage - Pull request 225
- Ensure
tlsVerify
is set in addition tocertPath
for DockerClientConfig setup - Pull request 230 - Upgrade to Gradle 2.14.
- Task
DockerLogsContainer
gained attributesink
- Pull request 203 - Task
DockerBuildImage
will no longer insert extra newline as part of build output - Pull request 206 - Upgrade to docker-java 3.0.0 - Pull request 217
- Fallback to buildscript.repositories for internal dependency resolution if no repositories were defined - Pull request 218
- Added task
DockerExecContainer
- Pull request 221 - Added task
DockerCopyFileToContainer
- Pull request 222 - Task
DockerCreateContainer
gained attributerestartPolicy
- Pull request 224 - Remove use of Gradle internal methods.
- Added ISSUES.md file.
- Upgrade to Gradle 2.13.
- Added task
DockerLogsContainer
- Pull request 181 - Bump docker-java to version 2.3.3 - Pull request 183
- Bug fix when not checking if parent dir already exists before creating with
DockerCopyFileToContainer
- Pull request 186 DockerWaitContainer
now produces exitCode - Pull request 189apiVersion
can now be set onDockerExtension
and overriden on all tasks - Pull request 182- Internal fix where task variables had to be defined - Pull request 194
- Upgrade to Gradle 2.11.
- Bug fix when copying single file from container and hostPath is set to directory for
DockerCopyFileFromContainer
- Pull request 163 - Step reports are now printed to stdout by default for
DockerBuildImage
- Pull request 145 - UP-TO-DATE functionality has been removed from
DockerBuildImage
as there were too many corner cases to account for - Pull request 172
- Added docker step reports for
DockerBuildImage
- Pull request 145 - Added
onlyIf
check forDockerBuildImage
- Pull request 139 - Added method logConfig for
DockerCreateContainer
- Pull request 157 - Various commands can now be passed closures for
Dockerfile
- Pull request 155 - Fix implementation of exposedPorts for
DockerCreateContainer
- Pull request 140 - Upgrade to Docker Java 2.2.2 - Pull request 158.
- Fix implementation of
DockerCopyFileFromContainer
- Pull request 135. - Add
networkMode
property toDockerCreateContainer
- Pull request 114. - Upgrade to Docker Java 2.1.4 - Issue 138.
- Expose privileged property on
DockerCreateContainer
- Pull request 130.
- Expose force and removeVolumes properties on
DockerRemoveContainer
- Pull request 129.
- Expose support for LogDriver on
DockerCreateContainer
- Pull request 118. - Upgrade to Docker Java 2.1.2.
- Correct the
withVolumesFrom
call onDockerCreateContainer
task which needs to get aVolumesFrom[]
array as the parameter - Pull request 102. - Upgrade to Docker Java 2.1.1 - Pull request 109.
- Upgrade to Docker Java 2.1.0 - Pull request 92.
Note: The Docker Java API changed vastly with version 2.0.0. The tasks
DockerBuildImage
,DockerPullImage
andDockerPushImage
do not provide a response handler anymore. This is a breaking change. Future versions of the plugin might open up the response handling again in some way. DockerListImages
withfilter
call a wrong function fromListImagesCmdImpl.java
- Issue 105.
- Fix listImages task throwing GroovyCastException - Issue 96.
- Add support for publishAll in DockerCreateContainer - Pull request 94.
- Add optional dockerFile option to the DockerBuildImage task - Pull request 47.
- Adds Dockerfile support for the LABEL instruction - Pull request 86.
- Usage of docker-java library version 1.4.0. Underlying API does not provide
setting port bindings for task
DockerStartContainer
anymore. Needs to be set onDockerCreateContainer
.
- Expose response handler for
DockerListImages
task - Issue 75. - Pass in credentials when building an image - Issue 76.
- Add
extraHosts
property to taskDockerCreateContainer
- Pull request 79. - Add
pull
property to taskDockerBuildImage
- Pull request 78.
- Added missing support for properties
portBindings
andcpuset
inCreateContainer
- Pull request 66. - Expose response handlers so users can inject custom handling logic - Issue 65.
- Upgrade to Gradle 2.4 including all compatible plugins and libraries.
- Added support for
Binds
when creating containers - Pull request 54. - Added task for copying files from a container to a host - Pull request 57.
- Added task
DockerInspectContainer
- Pull request 44. - Added property
containerName
to taskDockerCreateContainer
- Pull request 44. - Allow for linking containers for task
DockerCreateContainer
- Pull request 53. - Usage of docker-java library version 1.2.0.
- Usage of docker-java library version 1.1.0.
- Renamed property
registry
toregistryCredentials
for plugin extension and tasks implementingRegistryCredentialsAware
to better indicate its purpose. Note: This is a breaking change.
- Allow for specifying port bindings for container start command. - Issue 30.
- Throw an exception if an error response is encountered - Issue 37.
- Upgrade to Gradle 2.3.
- Set source and target compatibility to Java 6 - Issue 32.
- Extension configuration method for
DockerJavaApplicationPlugin
needs to be registered via extension instance - Issue 28.
- Upgrade to Gradle 2.2.1 including all compatible plugins and libraries.
- Add project group to default tag built by Docker Java application plugin - Issue 25.
- Expose method for task
Dockerfile
for providing vanilla Docker instructions.
- Usage of docker-java library version 0.10.5.
- Correctly create model instances for create container task - Issue 19.
- Allow for pushing to Docker Hub - Issue 18.
- Better handling of API responses.
- Note: Change to plugin extension. The property
docker.serverUrl
is now calleddocker.url
. Instead ofdocker.credentials
, you will need to usedocker.registry
.
Dockerfile
task is always marked UP-TO-DATE after first execution - Issue 13.- Improvements to
Dockerfile
task - Pull request 16.- Fixed wrong assignment of key field in environment variable instruction.
- Allow for providing multiple ports to the expose instruction.
- Fixed entry point definition of Dockerfile set by Java application plugin.
- Allow for properly add user-based instructions to Dockfile task with predefined instructions without messing up the order. - Issue 12.
- Renamed task
dockerCopyDistTar
todockerCopyDistResources
to better express intent.
- Allow for setting path to certificates for communicating with Docker over SSL - Issue 10.
- Usage of docker-java library version 0.10.4.
- Added Docker Java application plugin.
- Better documentation.
- Fixed implementations of tasks
DockerPushImage
andDockerCommitImage
- Issue 11.
- Added task for creating a Dockerfile.
- Usage of docker-java library version 0.10.3.
- Changed package name to
com.bmuschko.gradle.docker
. - Changed group ID to
com.bmuschko
. - Adapted plugin IDs to be compatible with Gradle's plugin portal.
- Usage of docker-java library version 0.8.2.
- Provide custom task type for push operation.
- Support for using remote URLs when building image - Issue 3.
- Initial release.