You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2021/05/15 11:12:54 UTC
[directory-buildtools] branch master updated: Update maven-build
docker images
This is an automated email from the ASF dual-hosted git repository.
seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-buildtools.git
The following commit(s) were added to refs/heads/master by this push:
new d0964dc Update maven-build docker images
d0964dc is described below
commit d0964dced9d48de15c1ec729e356fc0a6cbc84e9
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sat May 15 13:12:42 2021 +0200
Update maven-build docker images
---
docker/maven-build/README.md | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/docker/maven-build/README.md b/docker/maven-build/README.md
index ccd216d..13612cc 100644
--- a/docker/maven-build/README.md
+++ b/docker/maven-build/README.md
@@ -21,8 +21,8 @@
A docker image for building Apache Directory projects. It's based on the official maven Docker images.
It contains all tools required for building and testing:
-* Java (OpenJDK 8, 11, or 15)
-* Maven 3.6
+* Java (OpenJDK 8, 11, 17)
+* Maven 3.8
* Xvfb (required by Studio UI tests)
* Kerberos client and krb5 config with EXAMPLE.COM realm (required by Studio UI tests)
* dpkg, rpm, nsis (for building ApacheDS installers)
@@ -32,13 +32,12 @@ It contains all tools required for building and testing:
See <https://hub.docker.com/_/maven> for available Maven base image tags.
Currently used:
-* 8: `maven:3-jdk-8`
-* 11: `maven:3-jdk-11`
-* 15: `maven:3-openjdk-15-slim`
-* 16: `maven:3-openjdk-16-slim`
+* 8: `maven:3-openjdk-8-slim`
+* 11: `maven:3-openjdk-11-slim`
+* 17: `maven:3-openjdk-17-slim`
```
-JDK_VERSION=15
+JDK_VERSION=17
docker pull maven:3-openjdk-${JDK_VERSION}-slim
docker build -t apachedirectory/maven-build:jdk-${JDK_VERSION} --build-arg JDK_VERSION=${JDK_VERSION} .
```