mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-08-26 09:37:19 +00:00
* update * update * update * tests * update * update * update * update * update * update * update * update * update * update * comments * update * update * update * update * update
16 lines
419 B
Markdown
16 lines
419 B
Markdown
# SLSA verifier as a service
|
|
|
|
This document is WIP.
|
|
|
|
Command to run the service locally:
|
|
|
|
```bash
|
|
$ 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
|
|
```
|
|
|
|
```bash
|
|
$ curl -s 127.0.0.1:8000/v1/verify -d @cli/experimental/service/testdata/request.txt
|
|
```
|