You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .ci/docker/README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ If you encounter network related issues try passing the flag: `--network=host`.
15
15
16
16
# Run tests against the project (mount project root to /workspace)
17
17
18
+
### Note:
19
+
To set the bazel version either create a `.bazelversion` file in the root of the project, or define the version with the `-e BAZEL_VERSION=x.x.x` parameter.
20
+
18
21
```bash
19
22
docker run --rm \
20
23
-v "$(pwd):/workspace" \
@@ -24,7 +27,26 @@ docker run --rm \
24
27
-v "$(pwd):/workspace" \
25
28
rules-codechecker-rhel9
26
29
```
30
+
If you encounter network related issues try passing the flag: `--network=host`, as shown below.
31
+
32
+
```
33
+
docker run --rm \
34
+
--network=host \
35
+
-v "$(pwd):/workspace" \
36
+
rules-codechecker-ubuntu
37
+
```
38
+
39
+
Example for setting the bazel version using docker run parameters.
0 commit comments