Skip to content

Commit

Permalink
#348 : Add documentation and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuss committed Jan 19, 2016
1 parent 54fc47d commit cee9790
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ChangeLog

* **0.13.8**
- Add option `nocache` for building images (#348)

* **0.13.7**
- Fix default for "cleanup" in build configuration to `true` (as documented) ([#338](https://github.com/rhuss/docker-maven-plugin/issues/338))
- Fix dynamic host property update in port mapping ([#323](https://github.com/rhuss/docker-maven-plugin/issues/323))
Expand Down
5 changes: 3 additions & 2 deletions doc/manual/docker-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ of an image configuration. The available subelements are

* **assembly** specifies the assembly configuration as described in
[Build Assembly](#build-assembly)
* **cleanup** indicates if dangling (untagged) images should be cleaned up after each build (including any containers
created from them). Default is `true`
* **cleanup** Cleanup dangling (untagged) images after each build (including any containers
created from them). Default is `true`
* **nocache** Don't use Docker's build cache
* **cmd** A command to execute by default (i.e. if no command
is provided when a container for this image is started). See
[Start-up Arguments](#start-up-arguments) for details.
Expand Down
7 changes: 7 additions & 0 deletions doc/manual/external-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ values in the `<build>` and `<run>` sections.
when creating the assembly archive
* **docker.assembly.dockerFileDir** specifies a directory containing an external Dockerfile
that will be used to create the image
* **docker.cleanup** Cleanup dangling (untagged) images after each build (including
any containers
created from them). Default is `true`
* **docker.nocache** Don't use Docker's build cache
* **docker.optimise** if set to true then it will compress all the `runCmds` into a single RUN directive so that only
one image layer is created.

* **docker.bind.idx** Sets a list of paths to bind/expose in the container
* **docker.capAdd.idx** List of kernel capabilities to add to the container
* **docker.capDrop.idx** List of kernel capabilities to remove from the container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public enum ConfigKey {
CAP_ADD,
CAP_DROP,
CLEANUP,
NOCACHE,
OPTIMISE,
CMD,
DOMAINNAME,
Expand All @@ -53,7 +54,6 @@ public enum ConfigKey {
MEMORY_SWAP,
NAME,
NAMING_STRATEGY,
NOCACHE,
PORT_PROPERTY_FILE,
PORTS,
RUN,
Expand Down

0 comments on commit cee9790

Please sign in to comment.