mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-05-06 00:26:39 +00:00
Signed-off-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com> Co-authored-by: Ian Lewis <ianlewis@google.com>
SLSA verifier as a service
This document is WIP.
Command to run the service locally:
$ docker build -t slsa-verifier-rest:latest -f cli/experimental/service/Dockerfile .
$ docker run -p 8000:8000 slsa-verifier-rest:latest # This did not work for me.
$ docker run --network=host slsa-verifier-rest:latest
$ curl -s 127.0.0.1:8000/v1/verify -d @cli/experimental/service/testdata/request.txt