File: README.md

package info (click to toggle)
golang-github-appc-goaci 0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 176 kB
  • sloc: sh: 12; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 954 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# goaci

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

[appc-spec]: https://github.com/appc/spec

## 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 get`s the specified package and compiles it statically.
Then it generates an image manifest (using mostly default values) and leverages the [appc/spec](https://github.com/appc/spec) libraries to construct an ACI.

## TODO

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