aboutsummaryrefslogtreecommitdiff
path: root/docker/ant/readme.md
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-11-28 23:37:34 +0100
committerRoel Spilker <r.spilker@gmail.com>2017-11-28 23:37:34 +0100
commit1f7b8c3d2c5dc1afc59faaedee94abeefcffec3c (patch)
tree09edd97918d9197056757fba67a712b6b5acc284 /docker/ant/readme.md
parent192ce9bc16e7d49533ba6ce12fc570c2bcfab550 (diff)
downloadlombok-1f7b8c3d2c5dc1afc59faaedee94abeefcffec3c.tar.gz
lombok-1f7b8c3d2c5dc1afc59faaedee94abeefcffec3c.tar.bz2
lombok-1f7b8c3d2c5dc1afc59faaedee94abeefcffec3c.zip
add ant Dockerfile, use jdk major version numbers instead
Diffstat (limited to 'docker/ant/readme.md')
-rw-r--r--docker/ant/readme.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/docker/ant/readme.md b/docker/ant/readme.md
new file mode 100644
index 00000000..d6462523
--- /dev/null
+++ b/docker/ant/readme.md
@@ -0,0 +1,33 @@
+## Configuration
+
+[_(general configuration and options)_](../readme.md)
+
+### `ARG ant=1.10.1`
+
+The ant version to be used. Supported values:
+
+- `1.10.1` (default)
+
+## Example build commands:
+
+(To be executed from the `<lombokhome>/docker` directory)
+
+```
+docker build -t lombok-ant-jdk9 -f gradle/Dockerfile .
+
+docker build -t lombok-ant-jdk9 --build-arg lombokjar=lombok-1.16.18.jar -f gradle/Dockerfile .
+```
+
+## Example run commands:
+
+```
+docker run -it lombok-ant-jdk9
+
+docker run --rm -it -v /<lombokhome>/dist/lombok.jar:/workspace/lombok.jar lombok-ant-jdk9
+```
+
+## Example container commands:
+
+```
+ant dist
+```