aboutsummaryrefslogtreecommitdiff
path: root/docker/ant/readme.md
blob: cfe9077441b2234000f867c6c82a56bd31daf548 (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
## Configuration

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

### `ARG ant=1.10.7`

The ant version to be used. Supported values:

- `1.10.7` (default)
- `1.10.6`
- `1.10.1`

## Example build commands:

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

```
docker build -t lombok-ant-jdk16 -f ant/Dockerfile .

docker build -t lombok-ant-jdk16 --build-arg lombokjar=lombok-1.18.20.jar -f ant/Dockerfile .
```

## Example run commands:

```
docker run -it lombok-ant-jdk16

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

## Example container commands:

```
cd classpath
ant dist
```