github batect/batect 0.74.0

latest releases: 0.85.0, 0.84.0, 0.83.9...
2 years ago

News

I've recently published two RFCs covering significant enhancements to Batect:

  • #990: new expression syntax
  • #991: bundle scoping

The RFC process is intended to allow anyone with an interest in Batect to get involved and help shape it to suit their needs, so please don't be shy! Any comments, suggestions, questions or constructive criticism are more than welcome.

Changes

  • Improved: caches no longer need to be initialised with a separate container and will be no longer have a .cache-init file created within them.

    This improves performance (as there's no longer a need to start and run another container to prepare caches before they're used), and fixes issues where some applications insist on a completely empty directory, such as Postgres (#1000 - thanks to @ineffyble for the feedback).

    The --linux-cache-init-image option has been removed as it is no longer used.

    Note that this change in behaviour does mean that caches using volumes (ie. not using directories with --cache-type=directory) will now inherit the contents of the target directory from the image when they are created for the first time. Previously, they would always contain only the dummy .cache-init file. For example, if a cache is mounted at /cache, and the image for the container contains files in /cache, when the cache volume is created for the first time, the contents of /cache from the image will be copied into the volume.

Thank you

Thank you also to @sschuberth for submitting a number of PRs to improve some of the behind-the-scenes developer tooling.

Don't miss a new batect release

NewReleases is sending notifications on new releases.