From 24cabc8094e4c111acf9e090dc14c9ffd308de25 Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Tue, 23 Jul 2024 19:16:21 +0200 Subject: [PATCH] Add doc about testing. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 8cf221f..6f20108 100644 --- a/README.md +++ b/README.md @@ -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