Merge pull request #159 from mikebrow/man-build-update

minor cleanup for build issues related to the manual
This commit is contained in:
Miloslav Trmač 2016-08-11 15:17:23 +02:00 committed by GitHub
commit ffe92ed2bb

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
- -