Skip to content

umoci 0.2.0

Compare
Choose a tag to compare
@cyphar cyphar released this 10 Apr 15:32
v0.2.0
3e4acdb
  • umoci now has some automated scripts for generated RPMs that are used in
    openSUSE to automatically submit packages to OBS. openSUSE/umoci#101
  • --clear=config.{cmd,entrypoint} is now supported. While this interface is a
    bit weird (cmd and entrypoint aren't treated atomically) this makes the
    UX more consistent while we come up with a better cmd and entrypoint UX.
    openSUSE/umoci#107
  • New subcommand: umoci raw runtime-config. It generates the runtime-spec
    config.json for a particular image without also unpacking the root
    filesystem, allowing for users of umoci that are regularly parsing
    config.json without caring about the root filesystem to be more efficient.
    However, a downside of this approach is that some image-spec fields
    (Config.User) require a root filesystem in order to make sense, which is
    why this command is hidden under the umoci-raw(1) subcommand (to make sure
    only users that understand what they're doing use it). openSUSE/umoci#110
  • umoci's oci/cas and oci/config libraries have been massively refactored
    and rewritten, to allow for third-parties to use the OCI libraries. The plan
    is for these to eventually become part of an OCI project. openSUSE/umoci#90
  • The oci/cas interface has been modifed to switch from *ispec.Descriptor
    to ispec.Descriptor. This is a breaking, but fairly insignificant, change.
    openSUSE/umoci#89
  • umoci now uses an updated version of go-mtree, which has a complete
    rewrite of Vis and Unvis. The rewrite ensures that unicode handling is
    handled in a far more consistent and sane way. openSUSE/umoci#88
  • umoci used to set process.user.additionalGids to the "normal value" when
    unpacking an image in rootless mode, causing issues when trying to actually
    run said bundle with runC. openSUSE/umoci#109

Thanks to all of the contributors that helped make this release happen:

Signed-off-by: Aleksa Sarai [email protected]