Skip to content

Releases: goldmann/docker-squash

1.2.0

07 Feb 19:19
@rnc rnc
fec66e1
Compare
Choose a tag to compare

Fixed

  • Support Docker 25 OCI archive format (#241)
  • Workaround cleanup incorrectly removing tagged image (#242)
  • Fix for invalid manifest (#239)
  • Improved log formatting (#238)
  • Use packaging.version instead of distutils (#234)

Changed

  • Added testing for Python 3.12 and validation under Docker 24/25 (#241)

1.1.0

10 May 12:49
@rnc rnc
Compare
Choose a tag to compare

Fixed

  • Avoid writing to closed tar file (#225)
  • Fix windows path handling (#208)
  • Improve documentation (#218, #228)
  • Clarify CLI and add --load-image command (#229)

Changed

1.0.10

27 Oct 08:41
Compare
Choose a tag to compare

Fixed

  • Added support for Docker Python bindings >= 6.0.0, #211

1.0.9

26 Nov 12:14
Compare
Choose a tag to compare

Fixed

  • Making it possible to specify a commit message with --m (--message) parameter

1.0.8

15 Oct 10:32
Compare
Choose a tag to compare

Fixed

  • Added support for opaque directories. Now these should be handled properly. #186

1.0.7

11 Jun 13:52
015f296
Compare
Choose a tag to compare

Fixed

  • Pinned to Docker Python client in version lower than 3. Version 3+ is currently incompatible and supporting it would result in severe performance drop. Read more in #158

Added

  • Image stats are shown after squashing, #157
    2018-02-13 15:15:50,325 root         INFO     Original image size: 1342.47 MB
    2018-02-13 15:15:50,325 root         INFO     Squashed image size: 631.21 MB
    2018-02-13 15:15:50,325 root         INFO     Image size decreased by 47.02 %
    

Changed

  • If image does not require squashing (about to squash a single layer), then new SquashUnnecessaryError exception is thrown and if used from CLI, exit code 2 is used, #161
  • CLI help contains correct information about the --tag switch, #151

1.0.6

06 Sep 09:31
9d8edb3
Compare
Choose a tag to compare

Enhancements

  • Support for new docker Python library, #152
  • Better handling of stdout/etderr streams, #144

1.0.5

07 Dec 10:26
70a9237
Compare
Choose a tag to compare

Bug fixes

  • Fixed MemoryError while squashing images with big layers, #132

Enhancements

  • Image fetched from the daemon is now unpacked on the fly without an intermediate file, #135
  • We remove now as soon as possible layers that will not be used to save space while squashing, #133

1.0.4

01 Sep 13:23
de21a73
Compare
Choose a tag to compare

Bug fixes

  • When we add a file back to the tar we need to check if the parent (or some parent of it) is a symlink and not add it, #122

1.0.3

30 Aug 13:32
7298ca9
Compare
Choose a tag to compare

Bug fixes

  • Removed directories were are added back when it should be replaced by a symlink, #120
  • ApplyLayer duplicates of file paths not supported stdout - when squashing hard links there was an issue where we added them back twice, #118