Installation
Build from source
Requires Go (see go.mod for the version).
git clone https://github.com/BlackbirdWorks/semaphore.git
cd semaphore
make build-relayproxy # binary: out/bin/semaphoreRelease archives (available after the first release)
Archives for Linux, macOS and Windows are attached to each GitHub Release: semaphore_<version>_<Os>_<arch>.tar.gz (.zip on Windows), with checksums.txt, an SBOM per archive and a build provenance attestation. See Releasing to verify them.
Docker
Images are published to ghcr.io/blackbirdworks/semaphore (available after the first release): :v<version>, :latest (distroless), -bookworm / -trixie (Debian slim) and -fips variants, for linux/amd64 and linux/arm64 (64-bit only; there are no 32-bit builds). The image runs as the non-root user 65532.
docker run -p 1031:1031 -v $(pwd):/semaphore:ro ghcr.io/blackbirdworks/semaphore:latestUntil then, build a local image from source:
make build-relayproxy-docker # image: semaphore:localThe binary is /usr/local/bin/semaphore and the image sets it as ENTRYPOINT, so the relay proxy starts with no arguments and finds its configuration in /semaphore/ (or the legacy /goff/), and arguments are passed directly to it. To run something else, override the entrypoint with --entrypoint. Pass options as arguments:
docker run -p 1031:1031 -v $(pwd):/cfg:ro semaphore:local --config=/cfg/semaphore-proxy.yamlFIPS 140-3
If you need FIPS 140 validated cryptography, use the semaphore-fips archive or the -fips image tag of a release, or build the FIPS variant from source:
make build-relayproxy-fipsSee FIPS 140-3 mode for details on running and verifying it.
Check the version
semaphore --version # also -v; semaphore-cli --version for the CLI
docker run --rm ghcr.io/blackbirdworks/semaphore:latest --versionIt prints the version, commit, build date, Go version and whether the binary runs in FIPS 140 mode, and exits without loading a configuration.
Next steps
Once the relay proxy is running, connect your application with a standard OpenFeature SDK and the OFREP provider.