diff options
| author | Stefan Wiehler <me@sephalon.net> | 2021-11-18 15:18:52 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-11-29 14:36:06 +0000 |
| commit | ae18d35577c2e7e556be98bb4dc854317440a55a (patch) | |
| tree | b27030f5181e6228f08912fae321993d1a4f023b /docs | |
| parent | 8f3b15c4213fbdd6918d7ddd9ffa9fd4a623dc49 (diff) | |
tools/syz-env: add local build option
Useful for testing local Dockerfile changes that have not been pushed yet.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/contributing.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/contributing.md b/docs/contributing.md index 4d1278a1c..85ce77e6d 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -151,6 +151,12 @@ docker pull docker.pkg.github.com/google/syzkaller/env docker tag docker.pkg.github.com/google/syzkaller/env gcr.io/syzkaller/env ``` +You can also build the container from the respective `Dockerfile` by setting the `SYZ_ENV_BUILD` environment variable, i.e.: +``` +SYZ_ENV_BUILD=1 syz-env +``` +This can be useful to test local changes that have not been pushed to the registry yet. + ### Using [act](https://github.com/nektos/act) .github/workflows has more tests compared to `syz-env make presubmit`. To have the same tests as the workflow, we can run these workflow jobs locally. ``` |
