Chef Habitat 1.6.0 Released!

We are happy to announce the release of Habitat 1.6.0!

This release adds the ability to create multi-layer docker images by passing --multi-layer to hab pkg export docker. Historically, our exported container images have essentially been a single layer, containing all the Habitat packages needed to run the Supervisor and the exported service. While this works, it does not sufficiently leverage image layer caching. In the normal case when a user is iterating on a service, very often that single package is the only one that will be changing. Ideally, a container image for a new version of that service should be able to re-use the layers containing the Habitat Supervisor and all its dependencies, since none of them changed. Since everything is exported in a single layer, though, all of this is utterly opaque to the container storage engine. Multi-layer images resolve this issue. We do a bit of pre-processing of the collection of packages to create a heuristically optimized ordering in which to add them to the container image.

Leaving off the --multi-layer option will continue to use the "all in one" approach we have used until now. This mode is useful when the number of packages in an image exceeds the number of layers Docker allows in an image.

This release also adds the ability to place a studio_profile.ps1 in the root of a plan which will be automatically sourced when entering a Window's studio. This mirrors the .studiorc available in Linux studios. Also, like HAB_STUDIO_NOSTUDIORC one would use HAB_STUDIO_NOPROFILE to suppress sourcing the profile.

Be sure to read on for additional changes! If you just want the binaries, head on over to Install Habitat. Thanks!

1.6.0 (2020-04-20)

Full Changelog

New Features & Enhancements

Bug Fixes

Merged Pull Requests