minor cleanup for build issues

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
Mike Brown
2016-08-10 19:40:56 -05:00
parent e44bd98fa4
commit 6f6c2b9c73

View File

@@ -100,15 +100,19 @@ you'll get an error. You can fix this by either logging in (via `docker login`)
and `--password`. and `--password`.
Building Building
- -
To build `skopeo` you need at least Go 1.5 because it uses the latest `GO15VENDOREXPERIMENT` flag. Also, make sure to clone the repository in your `GOPATH` - otherwise compilation fails. To build the manual you will need go-md2man.
```sh
$ sudo apt-get install go-md2man
```
To build the `skopeo` binary you need at least Go 1.5 because it uses the latest `GO15VENDOREXPERIMENT` flag. Also, make sure to clone the repository in your `GOPATH` - otherwise compilation fails.
```sh ```sh
$ git clone https://github.com/projectatomic/skopeo $GOPATH/src/github.com/projectatomic/skopeo $ git clone https://github.com/projectatomic/skopeo $GOPATH/src/github.com/projectatomic/skopeo
$ cd $GOPATH/src/github.com/projectatomic/skopeo && make binary $ cd $GOPATH/src/github.com/projectatomic/skopeo && make all
``` ```
You may need to install additional development packages: gpgme-devel and libassuan-devel You may need to install additional development packages: gpgme-devel and libassuan-devel
```sh ```sh
# dnf install gpgme-devel libassuan-devel $ dnf install gpgme-devel libassuan-devel
``` ```
Installing Installing
- -