mappend

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

README

mappend: create a multi-arch image from tarball

mappend is a tool to create a multi-arch image from tarball

Motivation

https://github.com/oras-project/oras/issues/237

Usage

$ mappend multi arm64.tar linux/arm64
$ mappend multi amd64.tar linux/amd64
$ skopeo inspect --raw oci:./multi | jq .
{
  "schemaVersion": 2,
  "manifests": [
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "size": 420,
      "digest": "sha256:51d28b46526e08eb0cd895e11b38c4ba7474a075f89b4caa85081ef38bb77f48",
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "size": 420,
      "digest": "sha256:14bbf77921ab39a6e3284157a22ef7dc909e59047bb0cbe25fac979dc0bb9e43",
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    }
  ]
}

License

mappend is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL