aboutsummaryrefslogtreecommitdiff
path: root/docker/gradle/readme.md
blob: 81f147d856dedede5e36a6fde7b69144c73fd619 (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
36
37
## Configuration

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

### `ARG gradle=5.6`

The gradle version to be used. Supported values:

- `5.6` (default)
- `5.1.1`
- `4.10.2`
- `4.7`
- `4.2.1`

## Example build commands:

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

```
docker build -t lombok-gradle-jdk12 -f gradle/Dockerfile .

docker build -t lombok-gradle-jdk12 --build-arg lombokjar=lombok-1.16.20.jar -f gradle/Dockerfile .
```

## Example run commands:

```
docker run -it lombok-gradle-jdk12

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

## Example container commands:

```
gradle assemble
```