aboutsummaryrefslogtreecommitdiff
path: root/docker/bazel/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'docker/bazel/readme.md')
-rw-r--r--docker/bazel/readme.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/docker/bazel/readme.md b/docker/bazel/readme.md
new file mode 100644
index 00000000..2bed86f1
--- /dev/null
+++ b/docker/bazel/readme.md
@@ -0,0 +1,33 @@
+## Configuration
+
+[_(general configuration and options)_](../readme.md)
+
+### `ARG bazel=0.13.0`
+
+The bazel version to be used. Supported values:
+
+- `0.13.0` (default)
+
+## Example build commands:
+
+(To be executed from the `<lombokhome>/docker` directory)
+
+```
+docker build -t lombok-bazel-jdk10 -f bazel/Dockerfile .
+
+docker build -t lombok-bazel-jdk10 --build-arg lombokjar=lombok-1.16.20.jar -f bazel/Dockerfile .
+```
+
+## Example run commands:
+
+```
+docker run -it lombok-bazel-jdk10
+
+docker run --rm -it -v /<lombokhome>/dist/lombok.jar:/workspace/lombok.jar lombok-bazel-jdk10
+```
+
+## Example container commands:
+
+```
+bazel build //:ProjectRunner
+```