- NOTE: You now need at least Docker 1.9 to use this plugin, due to the support for buildargs. Some CVE's also got fixed, so you probably want to upgrade that Docker Engine regardless. :-)
- You can now maintain your docker registry credentials in maven's settings.xml. Thanks to Cedric Thiebault for the pull request!
- Added the ability to set a Mac address for a started container. Thanks to Mark Collin for making the pull request!
- Added the ability to pass build args to the Dockerfile when building an image. This should help with parametrizing your Dockerfiles while still having them be useful outside of Maven. Thanks to Mark Collin for making the pull request!
- BUGFIX: Plugin now properly removes created volumes when deleting a container. I apologize profoundly to any disks who were hurt in the last 4 versions.
- BUGFIX: Sometimes file names are long, sometimes they are so long that certain maven plugins fall over.. The plugin should now be able to handle adding files with paths longer than 100 bytes. Especially useful when you're all about organizing your hard drive into many folders!
- Plugin should be more resilient when docker logging drivers lie about the amount of characters to grab from the stream. (Don't ask...)
- Fixed backwards compatibility with docker daemons older than 1.10, the daemon should now be able to figure out the built image IDs again. Sorry!
- You can now add maven dependencies to your docker images. Thanks to Mark Collin for making the pull request!
- Fixed building an image under Docker 1.10, the output of a quiet build had significantly changed, so the plugin got all confused and basically gave up. Poor plugin. :( The plugin should now be able to decrypt the fairly cryptic statement "sha256:{insert random uuid}"
- Files added to the tar-ball sent to the docker daemon are no longer fully loaded into memory. The plugin should no longer need hundreds of MegaBytes of memory to work with big files. :-) Sorry! And thanks to Cedric Thiebault for fixing!
- Now passes authentication header to build image task to allow pulling images from a private repository.
- Now allows you to persist the logs for all containers to a certain folder.
- Now needs Java8 to run, Java7 has been deprecated for a while
- The plugin now uses the "stop" instead of "kill" command to stop containers in the
post-integration-test
phase. - Added the ability to commit containers after running them in the
post-integration-test
phase.
- Now outputs the daemon responses while building an image.
- Development: Fixed the VerifyHostnameSetIT which generated a NPE because of a non-existent logger.
- Tagging is now "forced", untagging a previous image with the same tag.
- Fixed the exception message when tagging an image fails.
- Docker images are now constructed somewhat differently. You have you specify the Dockerfile as a special entry. Files
in the Dockerfile are now called artifacts and you can specify where in the tar they will be placed. It's now possible to
point to whole folders and have those added to the tar ball in the build phase. Just put the path to the folder in
<file>
tags. - Added the ability to set the hostname of a container
- Docker 1.3: Added support for HTTPS encryption, fixing connection with Boot2docker 1.3.
- Changed the default port for the http interface to the IANA port for docker: 2375. (thanks Erno Tukia!)
- Fixed pulling images from a private repository. (thanks Erno Tukia!)
- Bug fix: Image names can now contain hyphens and dots and get properly pushed. (thanks Erno Tukia!)
- Fixed a bug in
start-container
goal that crashed the plugin if a container hadwaitForStartup
set, but failed to start push-images
goal no longer allows you to try to push an image without a name.- DEV: the build now starts a docker registry in docker so you can integration test against a registry too.
- A container now waits with starting up before linked containers have finished starting up.
- Environment variables can now be specified for a starting container (thanks Scott Stevelinck!)
- The plugin now targets v1.12 of the Docker remote API, which shipped with version 1.0 of Docker. So from this version on, you will need at least version 1.0 of the docker daemon.
- The plugin now enables you to scan the stderr & stdout of a container for a certain phrase that indicates successful initialization of the container. This phrase can be any regular expression and it is globally matched.
- The plugin now allows you to link containers that you start.
- The plugin now forces at least Maven 3.1.1, because else the plugin will not function well
- The plugin now checks for duplicate image IDs, failing the build if the same image ID is used twice
- The plugin now checks for duplicate container IDs, failing the build if the same container ID is used twice
- Fixed Push & Tag for private repositories that got broken in 1.5
- Upgraded maven plugin/api dependencies to the version that comes with Maven 3.1.1