- Add support for build-time variables in
DockerBuildImagetask - Pull request 240 - Fix incorrect docker-java method name in
DockerCreateContainertask - Pull request 242 - Can define devices on
DockerCreateContainertask - Pull request 245
- Simplify Gradle TestKit usage - Pull request 225
- Ensure
tlsVerifyis set in addition tocertPathfor DockerClientConfig setup - Pull request 230 - Upgrade to Gradle 2.14.
- Task
DockerLogsContainergained attributesink- Pull request 203 - Task
DockerBuildImagewill 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
DockerCreateContainergained 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 DockerWaitContainernow produces exitCode - Pull request 189apiVersioncan now be set onDockerExtensionand 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
DockerBuildImageas there were too many corner cases to account for - Pull request 172
- Added docker step reports for
DockerBuildImage- Pull request 145 - Added
onlyIfcheck 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
networkModeproperty 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
withVolumesFromcall onDockerCreateContainertask 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,DockerPullImageandDockerPushImagedo 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. DockerListImageswithfiltercall 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
DockerStartContaineranymore. Needs to be set onDockerCreateContainer.
- Expose response handler for
DockerListImagestask - Issue 75. - Pass in credentials when building an image - Issue 76.
- Add
extraHostsproperty to taskDockerCreateContainer- Pull request 79. - Add
pullproperty to taskDockerBuildImage- Pull request 78.
- Added missing support for properties
portBindingsandcpusetinCreateContainer- 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
Bindswhen 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
containerNameto 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
registrytoregistryCredentialsfor plugin extension and tasks implementingRegistryCredentialsAwareto 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
DockerJavaApplicationPluginneeds 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
Dockerfilefor 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.serverUrlis now calleddocker.url. Instead ofdocker.credentials, you will need to usedocker.registry.
Dockerfiletask is always marked UP-TO-DATE after first execution - Issue 13.- Improvements to
Dockerfiletask - 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
dockerCopyDistTartodockerCopyDistResourcesto 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
DockerPushImageandDockerCommitImage- 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.