From a9e52405a2335a9a9fcb105f7ff092df8a58f2e5 Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Tue, 2 Mar 2021 15:29:09 -0800 Subject: [PATCH] Add CGO build instructions to contributing.md --- docs/CONTRIBUTING.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 38810c48..344f694d 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -16,18 +16,28 @@ to manage issues, etc. ## Building From Source +Clone this repository to get a bleeding-edge build, +or download the source archive for [the latest stable release](https://github.com/smallstep/certificates/releases/latest). + +### Building step-ca + The only prerequisites are [`go`](https://golang.org/) and make. To build from source: make bootstrap && make +### Building CGO step-ca (with PKCS#11 and YubiKey PIV support) + +To build the CGO version of `step-ca` you will need [`go`](https://golang.org/), make, gcc, pkg-config, and the [`libpcsclite-dev`](https://pcsclite.apdu.fr/) package. On Ubuntu: + + sudo apt update + sudo apt install -y make gcc libpcsclite-dev pkg-config + make bootstrap && make build GOFLAGS="" ## Asking Support Questions -Users and developers can ask questions over email (info@smallstep.com) or -[twitter](https://twitter.com/smallsteplabs). Please don't use the GitHub -issue tracker to ask questions. +Feel free to post a question on our [GitHub Discussions](https://github.com/smallstep/certificates/discussions) page, or find us on [Gitter](https://gitter.im/smallstep/community). ## Reporting Issues