This repository automates the deployment of the go-rivet/rivet binary as a minimal scratch Docker image. It builds multi-architecture Docker images.
# Extract the binary into your current directory
$ docker create --name temp-rivet ghcr.io/go-rivet/rivet:latest
$ docker cp temp-rivet:/rivet ./rivet
$ docker rm temp-rivet
# Verify it runs locally
$ ./rivet --versionFROM ghcr.io/go-rivet/rivet:latest AS rivet-bin
FROM alpine:3.20
COPY --from=rivet-bin /rivet /usr/local/bin/rivetThe Dockerfile can be built and tested locally via standard automation commands.
# Build Rivet Docker Image.
$ make build
$ make build RIVET_VERSION=v0.2.0
# Test the Docker Images.
$ make test
# Run a Rivet Docker Container.
$ make run
# Remove the locally built Rivet Docker Images.
$ make clean
# Other make commands:
$ make helpThis project is licensed under the MIT License.
See the LICENSE file for the full license text.