• This repository has been archived on 15/Aug/2020
  • Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created almost 10 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

tool to build go projects into ACIs (archived, see https://github.com/rkt/rkt/issues/4024)

goaci

goaci is a simple command-line tool to build go projects into ACIs which conform to the app container specification.

Usage

Use goaci as you would go get:

$ goaci github.com/coreos/etcd
Wrote etcd.aci
$ actool -debug validate etcd.aci
etcd.aci: valid app container image

goaci provides options for specifying assets, adding arguments for an application, selecting binary is going to be packaged in final ACI and so on. Use --help to read about them.

How it works

goaci creates a temporary directory and uses it as a GOPATH (unless it is overridden with --go-path option); it then go gets the specified package and compiles it statically. Then it generates an image manifest (using mostly default values) and leverages the appc/spec libraries to construct an ACI.

TODO

Lots, check out https://github.com/appc/goaci/issues