mirror of
https://github.com/containers/skopeo.git
synced 2025-10-21 19:03:44 +00:00
Makefile: add binary-minimal and binary-static-minimal
These targets produce a pure-Go binary, without the following features: * ostree * devicemapper * btrfs * gpgme Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
@@ -191,6 +191,12 @@ Building in a container is simpler, but more restrictive:
|
||||
$ make binary # Or (make all) to also build documentation, see below.
|
||||
```
|
||||
|
||||
To build a pure-Go static binary (disables ostree, devicemapper, btrfs, and gpgme):
|
||||
|
||||
```sh
|
||||
$ make binary-static DISABLE_CGO=1
|
||||
```
|
||||
|
||||
### Building documentation
|
||||
To build the manual you will need go-md2man.
|
||||
```sh
|
||||
|
Reference in New Issue
Block a user