aboutsummaryrefslogtreecommitdiff
path: root/docker/bazel/readme.md
blob: 8671223154d92c2d3d16052e0fe74c3b2f91226e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## Configuration

[_(general configuration and options)_](../readme.md)

### `ARG bazel=2.0.0

The bazel version to be used. Supported values:

- `2.0.0` (default)
- `0.28.1`
- `0.13.0`

## Example build commands:

(To be executed from the `<lombokhome>/docker` directory)

```
docker build -t lombok-bazel-jdk13 -f bazel/Dockerfile .

docker build -t lombok-bazel-jdk13 --build-arg lombokjar=lombok-1.16.20.jar -f bazel/Dockerfile .
```

## Example run commands:

```
docker run -it lombok-bazel-jdk13

docker run --rm -it -v /<lombokhome>/dist/lombok.jar:/workspace/lombok.jar lombok-bazel-jdk13
```

## Example container commands:

```
bazel build //:ProjectRunner
```