oci2aci is a small package that converts OCI bundle to ACI. It takes OCI bundle as input, and gets ACI image as output.
Make sure you have a working Go environment (go 1.1+ is required). See the install instructions.
To install it, simply run:
$ go get github.com/octools/oci2aci
Make sure your PATH
includes to the $GOPATH/bin
directory so your commands can be easily used:
export PATH=$PATH:$GOPATH/bin
An example illustrated as below:
package main
import (
"github.com/octools/oci2aci"
)
func main() {
aciImgPath, err := oci2aci.Oci2aciImage(ociPath)
}