Skip to content

Commit

Permalink
Add doc about testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Jul 23, 2024
1 parent 8d461cd commit 24cabc8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@ BUILDER_ARGS="runtime rb" docker compose up --exit-code-from binary binary
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.59.1 golangci-lint run -v --enable-all
```

## Testing

For testing in rootless mode:
```sh
./test/test.sh rootless
```

For testing in daemon mode:
```sh
./test/test.sh client
```

## Useful Tools

[Dive](https://github.com/wagoodman/dive) can be used to analyze each layer of the generated image
Expand Down

0 comments on commit 24cabc8

Please sign in to comment.