From d7e166d70986a5bf6499656e5d4cf7ebacc9a929 Mon Sep 17 00:00:00 2001 From: Nicolas Filotto Date: Thu, 7 Sep 2023 12:04:56 +0200 Subject: [PATCH] [AMQ-9305] Adapt the docker-related files to Java 17 --- assembly/src/docker/Dockerfile | 2 +- assembly/src/docker/README.md | 4 ++-- assembly/src/docker/build.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assembly/src/docker/Dockerfile b/assembly/src/docker/Dockerfile index 20041910ff..8c8a2dd46c 100644 --- a/assembly/src/docker/Dockerfile +++ b/assembly/src/docker/Dockerfile @@ -16,7 +16,7 @@ # limitations under the License. ################################################################################ -FROM eclipse-temurin:11-jre +FROM eclipse-temurin:17-jre # ActiveMQ environment variables ENV ACTIVEMQ_INSTALL_PATH /opt diff --git a/assembly/src/docker/README.md b/assembly/src/docker/README.md index f945c91b5a..ff2b39f315 100644 --- a/assembly/src/docker/README.md +++ b/assembly/src/docker/README.md @@ -32,7 +32,7 @@ On macOS, an easy way to install `buildx` is to install [Docker Desktop Edge](ht ## Build -Images are based on the Docker official [Eclipse Temurin 11 JRE](https://hub.docker.com/_/eclipse-temurin/tags?page=1&name=11-jre) image. If you want to +Images are based on the Docker official [Eclipse Temurin 17 JRE](https://hub.docker.com/_/eclipse-temurin/tags?page=1&name=17-jre) image. If you want to build the ActiveMQ image you have the following choices: 1. Create the docker image from a local distribution package @@ -50,7 +50,7 @@ Usage: If the --image-name flag is not used the built image name will be 'activemq'. Check the supported build platforms; you can verify with this command: docker buildx ls - The supported platforms (OS/Arch) depend on the build's base image, in this case [eclipse-temurin:11-jre](https://hub.docker.com/_/eclipse-temurin). + The supported platforms (OS/Arch) depend on the build's base image, in this case [eclipse-temurin:17-jre](https://hub.docker.com/_/eclipse-temurin). ``` To create the docker image from local distribution) you can execute the command diff --git a/assembly/src/docker/build.sh b/assembly/src/docker/build.sh index 7411ec0831..a16dc0e739 100755 --- a/assembly/src/docker/build.sh +++ b/assembly/src/docker/build.sh @@ -27,7 +27,7 @@ Usage: If the --image-name flag is not used the built image name will be 'activemq'. Check the supported build platforms; you can verify with this command: docker buildx ls - The supported platforms (OS/Arch) depend on the build's base image, in this case [eclipse-temurin:11-jre](https://hub.docker.com/_/eclipse-temurin). + The supported platforms (OS/Arch) depend on the build's base image, in this case [eclipse-temurin:17-jre](https://hub.docker.com/_/eclipse-temurin). HERE exit 1