title | short | description | weight | toc |
---|---|---|---|---|
Get SPIRE |
Get SPIRE |
How to install SPIRE |
10 |
true |
The table below lists the available releases for SPIRE. The following is available for each release:
- A tarball for Linux x86_64 operating systems containing:
- The
spire-agent
andspire-server
binaries - Configuration files for the SPIRE Agent and Server
- A Docker Compose configuration that enables you to run an agent and a server simultaneously using Docker
- The
- A
.txt
file containing the SHA-256 checksum for the binary tarball - The SPIRE source code as a zip file
- The SPIRE source code as a tarball
Starting with SPIRE v0.10.0, a spire-extras
tarball is available that contains the following binaries for Linux x86_64 operating systems:
- [OIDC Discovery Provider](https://github.com/spiffe/spire/blob/{{< spire-latest "tag" >}}/support/oidc-discovery-provider/README.md)
- [Kubernetes Workload Registrar](https://github.com/spiffe/spire/blob/{{< spire-latest "tag" >}}/support/k8s/k8s-workload-registrar/README.md)
{{< releases >}}
To build SPIRE from source on Linux, you'll need:
git
- To clone the source from GitHub. Alternatively, you could usecurl
orwget
.make
- To run the Makefilegcc
- To build the binaries
The build script installs the required toolchain as needed, except for gcc
. For example, the build script installs a private version of go
that has been verified to successfully build SPIRE.
To build SPIRE on macOS, see Building SPIRE on macOS/Darwin.
First, fetch the SPIRE repository:
$ git clone https://github.com/spiffe/spire && cd spire
{{< info >}}
The SPIRE codebase uses Go modules, which means that the SPIRE repository does not need to be in your GOPATH
.
{{< /info >}}
To build the binaries from source:
$ make build
The built binaries are placed in bin
.
If you run make help
, you'll see a complete list of available make
commands, along with descriptions of what those commands do.
{{< scarf/pixels/high-interest >}}