From 1824748d92369cf0ee8312f30439fa422819021c Mon Sep 17 00:00:00 2001 From: Andrew Pielage Date: Thu, 7 Dec 2023 09:40:46 +0000 Subject: [PATCH 1/5] FISH-8129 Update docker-maven-plugin to 0.43.4 Signed-off-by: Andrew Pielage --- appserver/extras/docker-images/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appserver/extras/docker-images/pom.xml b/appserver/extras/docker-images/pom.xml index f5378f540b9..673705f6cf9 100644 --- a/appserver/extras/docker-images/pom.xml +++ b/appserver/extras/docker-images/pom.xml @@ -80,7 +80,7 @@ io.fabric8 docker-maven-plugin - 0.33.0 + 0.43.4 true true From 6c405b3b6e5016afda934ddf27c2f76fffd633df Mon Sep 17 00:00:00 2001 From: Andrew Pielage Date: Thu, 7 Dec 2023 16:14:54 +0000 Subject: [PATCH 2/5] FISH-8129 Build additional JDK 21 image Signed-off-by: Andrew Pielage --- appserver/extras/docker-images/pom.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/appserver/extras/docker-images/pom.xml b/appserver/extras/docker-images/pom.xml index 673705f6cf9..a2b6ec7e775 100644 --- a/appserver/extras/docker-images/pom.xml +++ b/appserver/extras/docker-images/pom.xml @@ -59,6 +59,7 @@ azul/zulu-openjdk 11.0.21 17.0.9 + 21.0.1 domain1 payara6 @@ -153,6 +154,12 @@ + + + + + + @@ -208,6 +215,24 @@ + + ${docker.payara.repository} + + + @ + + ${docker.payara.tag}-jdk21 + + none + ${docker.noCache} + ${project.build.directory}/antrun/Dockerfile.jdk21 + + tar + assembly.xml + gnu + + + From 9aa3802635f161ebd77858024c61c2d198e60abc Mon Sep 17 00:00:00 2001 From: Andrew Pielage Date: Thu, 7 Dec 2023 16:40:18 +0000 Subject: [PATCH 3/5] FISH-8129 Update Docker test dependencies Signed-off-by: Andrew Pielage --- appserver/extras/docker-images/tests/pom.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/appserver/extras/docker-images/tests/pom.xml b/appserver/extras/docker-images/tests/pom.xml index b3378554462..031c4fdc9e4 100644 --- a/appserver/extras/docker-images/tests/pom.xml +++ b/appserver/extras/docker-images/tests/pom.xml @@ -73,31 +73,31 @@ org.testcontainers testcontainers - 1.15.1 + 1.19.3 test org.testcontainers junit-jupiter - 1.14.0 + 1.19.3 test org.junit.jupiter junit-jupiter-engine - 5.6.2 + 5.10.1 test org.slf4j slf4j-api - 1.7.28 + 2.0.9 test org.slf4j slf4j-log4j12 - 1.7.28 + 2.0.9 test @@ -109,7 +109,7 @@ org.jboss.shrinkwrap.resolver shrinkwrap-resolver-impl-maven-archive - 3.1.3 + 3.2.1 test From eb173efc770b7a95f3be1ffcf6df85f46b358fcd Mon Sep 17 00:00:00 2001 From: Andrew Pielage Date: Thu, 7 Dec 2023 17:09:14 +0000 Subject: [PATCH 4/5] FISH-8129 Split JDK21 image generation into separate profile Signed-off-by: Andrew Pielage --- appserver/extras/docker-images/pom.xml | 60 +++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 6 deletions(-) diff --git a/appserver/extras/docker-images/pom.xml b/appserver/extras/docker-images/pom.xml index a2b6ec7e775..dfc8251c099 100644 --- a/appserver/extras/docker-images/pom.xml +++ b/appserver/extras/docker-images/pom.xml @@ -154,12 +154,6 @@ - - - - - - @@ -215,6 +209,60 @@ + + + + + + + + + generate-jdk21-docker-image + + + + src/main/docker/Dockerfile + + + + + + + maven-antrun-plugin + + + filter-dockerfiles + package + + run + + + + + + + + + + + + + + + + io.fabric8 + docker-maven-plugin + + + build-docker-image + + build + + package + + + + ${docker.payara.repository} From f4a1468d729aefcb0e852b7133c89851aa405478 Mon Sep 17 00:00:00 2001 From: Andrew Pielage Date: Thu, 14 Dec 2023 10:54:48 +0000 Subject: [PATCH 5/5] Fix build of Docker images - JDKs 11 and 17 were being skipped Signed-off-by: Andrew Pielage --- appserver/extras/docker-images/pom.xml | 128 ++++++++++++------------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/appserver/extras/docker-images/pom.xml b/appserver/extras/docker-images/pom.xml index dfc8251c099..8ce0f4ae75f 100644 --- a/appserver/extras/docker-images/pom.xml +++ b/appserver/extras/docker-images/pom.xml @@ -169,48 +169,48 @@ build package + + + + ${docker.payara.repository} + + + @ + + ${docker.payara.tag} + + none + ${docker.noCache} + ${project.build.directory}/antrun/Dockerfile.jdk11 + + tar + assembly.xml + gnu + + + + + ${docker.payara.repository} + + + @ + + ${docker.payara.tag}-jdk17 + + none + ${docker.noCache} + ${project.build.directory}/antrun/Dockerfile.jdk17 + + tar + assembly.xml + gnu + + + + + - - - - ${docker.payara.repository} - - - @ - - ${docker.payara.tag} - - none - ${docker.noCache} - ${project.build.directory}/antrun/Dockerfile.jdk11 - - tar - assembly.xml - gnu - - - - - ${docker.payara.repository} - - - @ - - ${docker.payara.tag}-jdk17 - - none - ${docker.noCache} - ${project.build.directory}/antrun/Dockerfile.jdk17 - - tar - assembly.xml - gnu - - - - - @@ -231,7 +231,7 @@ maven-antrun-plugin - filter-dockerfiles + filter-dockerfiles-jdk21 package run @@ -254,35 +254,35 @@ docker-maven-plugin - build-docker-image + build-docker-image-jdk21 build package + + + + ${docker.payara.repository} + + + @ + + ${docker.payara.tag}-jdk21 + + none + ${docker.noCache} + ${project.build.directory}/antrun/Dockerfile.jdk21 + + tar + assembly.xml + gnu + + + + + - - - - ${docker.payara.repository} - - - @ - - ${docker.payara.tag}-jdk21 - - none - ${docker.noCache} - ${project.build.directory}/antrun/Dockerfile.jdk21 - - tar - assembly.xml - gnu - - - - -