Skip to content

Commit

Permalink
Make -rm the default for docker build, closes #78
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Mar 15, 2014
1 parent d826362 commit 52c5d91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Expand Up @@ -10,11 +10,12 @@ It appears we're getting close to Docker 1.0, which will mean a 1.0 release of t

## 0.32.0 (unreleased)

This release includes Docker 0.9.0 changes such as defaulting to libcontainer and more.
This release includes Docker 0.9.0 changes and defaults, such as setting exec_driver to libcontainer, setting -rm on docker build, additional flags, etc.

* DEPRECATED: Rename storage_type attribute to storage_driver to [match Docker terminology](http://docs.docker.io/en/latest/reference/commandline/cli/#daemon) (storage_type will be removed in chef-docker 1.0)
* DEPRECATED: Rename virtualization_type attribute to exec_driver to [match Docker terminology](http://docs.docker.io/en/latest/reference/commandline/cli/#daemon) (virtualization_type will be removed in chef-docker 1.0)
* Enhancement: [#77][]: Improved docker ps handling
* Enhancement: [#78][]: Make --rm the default for docker build
* Enhancement: [#84][]: Docker 0.9.0: Add -e flag for execution driver
* Enhancement: [#86][]: Add Chefspec LWRP matchers

Expand Down Expand Up @@ -354,6 +355,7 @@ Lots of community contributions this release -- thanks!
[#68]: https://github.com/bflad/chef-docker/issues/68
[#72]: https://github.com/bflad/chef-docker/issues/72
[#77]: https://github.com/bflad/chef-docker/issues/77
[#78]: https://github.com/bflad/chef-docker/issues/78
[#84]: https://github.com/bflad/chef-docker/issues/84
[#86]: https://github.com/bflad/chef-docker/issues/86
[@jcrobak]: https://github.com/jcrobak
Expand Down
2 changes: 1 addition & 1 deletion resources/image.rb
Expand Up @@ -18,7 +18,7 @@
attribute :path, :kind_of => [String]
attribute :registry, :kind_of => [String]
attribute :repository, :kind_of => [String]
attribute :rm, :kind_of => [TrueClass, FalseClass], :default => false
attribute :rm, :kind_of => [TrueClass, FalseClass], :default => true
attribute :source, :kind_of => [String]
attribute :tag, :kind_of => [String]
attribute :virtual_size, :kind_of => [String]

0 comments on commit 52c5d91

Please sign in to comment.