Warning
This release drops support for Java < 11 The docker-compose plugins drop support for Gradle < 7.0
- #342 - Support docker compose v2
- #290 - Bump com.bmuschko:gradle-docker-plugin from 7.4.0 to 9.2.0
- #288 - Bump mockito-core from 4.+ to 5.0.0
- #286 - Bump org.eclipse.jgit from 6.2.0.202206071550-r to 6.4.0.202211300538-r
- #284 - Bump docker-compose-gradle plugin to 0.16.11. Remove support for Gradle 5.*, 6.0 and 6.1. Add Support for Gradle 7.3, 7.4, 7.5 and 7.6.
- #275 - Activate workaround for docker consecutive copy bug by default
- #201 - Make it possible to disable rewriting log4j.properties
- #227 - Improve message for
xyz.amp is not a valid AMP
exception - #231 - Support for
platform()
&enforcedPlatform()
with docker-alfresco plugin - #228 - Change MergeWarsTask task type to War
- #229 - Overwriting files in WAR with AMP broken since v5.3.0
This release drops support for Gradle versions before 5.6
- #191 - dockerCompose fromBuildImage/fromProject silently fail when wrong argument type is provided
- #192 - Deprecated non-annotated properties in prefixXXXLog4j tasks
- #204 - Support Gradle 7.0
- #203 - Bump gradle-docker-compose-plugin from 0.14.2 to 0.14.3
- #170 - dockerCompose.fromProject() with user-configured environment variable
- #181 - When a failure occurs during applyAmp, show the filename that failed to apply
- #185 - Update com.bmuschko:gradle-docker-plugin to 6.7.0
- This enables native docker credential store support on Windows
- #187 - Fix deprecation warnings shown incorrectly
- #176 - Workaround for Docker bug with 7 consecutive COPY instructions
- #173 -
autotag.legacyTags()
NPE when no arguments provided - #175 - Remove empty commands before doing COPY consolidation
- Add ability to configure multiple repositories for one image build (See UPGRADING-5.1)
- #161 - Build
eu.xenit.docker-alfresco
plugin on top ofeu.xenit.docker
plugin- Consolidate docker configurations into one configuration block:
dockerBuild
(See UPGRADING-5.1) - #156 - Add
createDockerFile
task ineu.xenit.docker
plugin - #157 - Configure
eu.xenit.docker
with settings fromeu.xenit.docker-alfresco
plugin - #155 - Make a convention extension out of
addWar()
- #158 - Move DockerBuildBehavior into
eu.xenit.docker
plugin
- Consolidate docker configurations into one configuration block:
- Move configuration of
pull
,noCache
&remove
properties tobuildDockerImage
task (See UPGRADING-5.1) - Move
automaticTags
to separate extension to generate tags (See UPGRADING-5.1)
- #149 - Docker configuration is not automatically applied with docker-compose plugin
- #145 - Npipe support for docker on windows
- #140 - addWar commands now make use of smartCopy under the hood
- #133 - Alfresco version check does not check
version.label
- #128 -
createDockerFile#removeExistingWar
config modified after configuration phase - #126 - Fix build failures with special characters in commit messages
- #124, #127, #131, #135 - Update gradle-docker-compose-plugin from 0.10.9 to 0.12.1
- Add
checkContainersRunning
option: Early error when container does not start up - Fix reconnecting for nested settings
- Add
- #116 -
pushDockerImage
now fails when no image-tags are configured - #115 - Update com.bmushko:gradle-docker-plugin to 6.4.0, supports Docker credentials store
- #121 - Bump gradle-docker-compose-plugin from 0.10.7 to 0.10.9
- #112 - Disable automatic pulling of images when Gradle runs in
--offline
mode - #80 - A better error message when an AMP fails to apply
- #107 - Fix lean image
- #50 - Installing AMPs in a war that already has AMPs installed
- #111 - log4j warning when running some tasks
- #97 - Fix labelling image with applied AMPs, DEs and SMs
- #104 - composeUp task fails because buildDockerImage is up-to-date
- #95 - Nested dockerCompose configurations
- #96 - eu.xenit.docker-compose plugin breaks up-to-date for buildDockerImage
- #98 - Alfresco extensions are not applied on Gradle 6.1
- #91 - Make pushDockerImage task depend on the buildDockerImage task
- #92 - Fix pushDockerImage does not work with plain credentials in .docker/config.json
- #93 - Dependencies are shaded into the plugin
- #86 - Configure docker-compose correctly when expose IP is set to something else than 0.0.0.0 or 127.0.0.1
- #72/#89 - Truezip IO exception during applyAlfrescoAmp task
- #55 - Update com.bmushko.docker-remote-api plugin from 4.6.2 to 6.1.1
- #82 - Update com.avast.gradle.docker-compose plugin from 0.8.12 to 0.10.7
- #75 - Use Gradle lazy
Property<>
for all task and configuration properties - #83 - Move task classes to better namespaced packages & move internal classes to internal packages
- #59 - Add docker-compose plugin that sets docker images from docker build tasks
- #65 - Support reading credentials from docker credentials store
- #71 - Support Gradle 6.0
- #58 - Do not automatically apply docker-compose plugin when applying docker or docker-alfresco
- #78 - Remove deprecated functionality
- #48 - automaticTags defaults to
false
now - Remove
ResolveWarTask
task type - Remove
labelDockerFile
task - Remove
buildLabels
task - Remove
mergeAlfrescoWar
task - Remove
dockerAlfresco.baseImage
configuration setting - Remove
dockerAlfresco.dockerBuild.repositoryBase
configuration setting - Remove
dockerFile.dockerBuild.repositoryBase
configuration setting - Remove
DockerfileWithWarsTask#baseImage
task property - Remove
DockerfileWithWarsTask#alfrescoWar
task property - Remove
DockerfileWithWarsTask#shareWar
task property
- #48 - automaticTags defaults to
- #72 - ApplyAlfrescoAmp cannot open module.properties
- #68 - DOCKER_HOST envvar is only set when eu.xenit.docker.url is set
- #66 - smartCopy has unexpected behaviour with copying folder
- DEVEM-344 - Make MergeWarTask extend the Zip task
- Make it easier to publish WAR files with extensions applied
- #44 - Automatically apply amps in the correct order
- #42 - Improve experience to add additional files to a docker image
- #38 - DockerfileWithWarsTask is not threadsafe
- #33 - Warning messages when building with Java 11
- #45 - Handle initialized git repository without commits
- #36 - Dependencies are resolved during the configuration phase
- DEVEM-342 - Update dependency
com.avast.gradle:gradle-docker-compose-plugin
to version 0.8.12 to solve failingcomposeUp
when there is output on stderr - DEVEM-351 - Ensure that the push tasks pushes the correct tags.
- #25 - Info and debug logging instead of stacktrace when not able to create URL for commit.
- DEVEM-352 - Clear error message when base image is not set.
- #9 - Broken version published to the plugin portal
- #5 - Alfresco repository required to resolve classpath artifacts
- #6 -
DockerException: Bind address needs a port: null
when using docker-compose
- Update avast docker-compose plugin to 0.8.8
- DEVEM-325 - Rename gradle plugins
- Gradle plugins have been renamed to eu.xenit.docker-alfresco and eu.xenit.docker
- DEVEM-322 - Publish to gradle plugin portal
- This makes it easier to use the plugins, without setting buildscript repositories and classpath
- DEVEM-324 - Configure Travis CI builds
- DEVEM-147 - Applying the xenit-dockerbuild gradle plugin without providing a config results in a NullPointerException
- DEVEM-301 - GStringImpl cannot be cast to String when using tags with variables
- DEVEM-298 - Using leanImage=true enables check if the version of the war matches the version in the baseImage
- Smaller Alfresco builds
- DEVEM-289 - Stripping the Alfresco war
- Apply modules to a stripped Alfresco war, which only contains version information
- DEVEM-290 - Merging stripped war with baseWar
- Merge stripped Alfresco war together with the baseWar, creating a full Alfresco war with modules applied
- DEVEM-291 - Change gradle project structure to use stripped war
- Wrap the existing war enrichment tasks with a stripping and merging task
- DEVEM-293 - Skip merging war files when creating a docker file
- Immediately extract the stripped wars on top of the exploded basewar
- DEVEM-295 - Support for lean images
- Only adding the extensions on top of the baseImage.
- DEVEM-289 - Stripping the Alfresco war
- DEVEM-292 - Add flag to disable automatic tagging behaviors
- DEVEM-274 - Updated dependency
com.bmuschko:gradle-docker-plugin:3.2.0
->3.2.5
- When defining a
HEALTHCHECK
for a container,./gradlew composeUp
now waits untill the container is healthy. Great use-case for integration-tests!
- When defining a
- DEVEM-279 - Updated dependency
com.avast.gradle:gradle-docker-compose-plugin:0.4.2
->0.7.1
- Supports nested configurations, which allows multiple compose-configs sets
- DEVEM-283 - support
dockerBuild
options:pull
,noCache
,remove