From 0a1ac8472e20fbce30aed4116ac7331faf347e3a Mon Sep 17 00:00:00 2001 From: nmirasch Date: Fri, 28 Jun 2024 12:37:01 +0200 Subject: [PATCH 1/2] [incubator-kie-issues-1285] Remove unnecessary base image from examples --- kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile | 2 +- .../process-monitoring-springboot/Dockerfile | 2 +- .../pr-checker-workflow/Dockerfile | 2 +- .../pr-checker-workflow/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile b/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile index 6bff9a5109..eb17c69d2f 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile @@ -17,7 +17,7 @@ # under the License. # -FROM quay.io/kiegroup/kogito-runtime-jvm:latest +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 ENV RUNTIME_TYPE quarkus diff --git a/kogito-springboot-examples/process-monitoring-springboot/Dockerfile b/kogito-springboot-examples/process-monitoring-springboot/Dockerfile index 5fdfd45843..168d58f661 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/Dockerfile +++ b/kogito-springboot-examples/process-monitoring-springboot/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/kiegroup/kogito-runtime-jvm:latest +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 ENV RUNTIME_TYPE springboot diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/Dockerfile b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/Dockerfile index 59ed914cc4..c0202c84a8 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/Dockerfile +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/kiegroup/kogito-runtime-jvm:latest +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 ENV RUNTIME_TYPE quarkus diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/README.md b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/README.md index 0b2e3c2cff..617e0f68e3 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/README.md +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/README.md @@ -101,7 +101,7 @@ You should see a similar output like this:
Build logs ``` ---> Building and pushing image using tag quay.io/your_namespace/pr-checker-workflow:latest -STEP 1: FROM quay.io/kiegroup/kogito-runtime-jvm:latest +STEP 1: FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 STEP 2: ENV RUNTIME_TYPE quarkus STEP 3: COPY target/*-runner.jar $KOGITO_HOME/bin --> 58760d128d8 From d6e97750a35d7550c2356e127a88a1d33ba93914 Mon Sep 17 00:00:00 2001 From: fantonangeli Date: Mon, 8 Jul 2024 13:06:04 +0200 Subject: [PATCH 2/2] Update openjdk-17 to 1.20 --- kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile | 2 +- .../kogito-travel-agency/basic/src/main/docker/Dockerfile.jvm | 4 ++-- .../extended/travels/src/main/docker/Dockerfile.jvm | 4 ++-- .../extended/visas/src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../process-error-handling/src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 2 +- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 2 +- .../process-scripts-quarkus/src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../process-timer-quarkus/src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../process-usertasks-quarkus/src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../src/main/docker/Dockerfile.jvm | 4 ++-- .../process-monitoring-springboot/Dockerfile | 2 +- .../pr-checker-workflow/Dockerfile | 4 ++-- .../pr-checker-workflow/README.md | 4 ++-- .../src/main/docker/Dockerfile.jvm | 2 +- .../src/main/docker/Dockerfile.legacy-jar | 2 +- 26 files changed, 46 insertions(+), 46 deletions(-) diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile b/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile index eb17c69d2f..96dd8f1b90 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile @@ -17,7 +17,7 @@ # under the License. # -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV RUNTIME_TYPE quarkus diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/docker/Dockerfile.jvm index 07e2ca2001..19088bb955 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/kogito-travel-agency-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/docker/Dockerfile.jvm index 236d2ad18d..3fbacb695a 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/kogito-travel-agency-travels-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/docker/Dockerfile.jvm index 053550180f..86f24e1c16 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/kogito-travel-agency-visas-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/docker/Dockerfile.jvm index 6f691954b1..c16cf87f06 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-business-rules-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-error-handling/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-error-handling/src/main/docker/Dockerfile.jvm index b2230927d6..dffa7045af 100644 --- a/kogito-quarkus-examples/process-error-handling/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-error-handling/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-error-handling-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/docker/Dockerfile.jvm index 5610f6f842..3d41e9d4eb 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-infinispan-persistence-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/docker/Dockerfile.jvm index 0ca426515f..41287be9f2 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-kafka-multi-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/docker/Dockerfile.jvm index dfc200ff2f..0a24ff1479 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-kafka-persistence-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/docker/Dockerfile.jvm index 2ad0a062fe..d0eee31a2c 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-kafka-quickstart-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/docker/Dockerfile.jvm index 0a9917e447..9875050456 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-mongodb-persistence-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/docker/Dockerfile.jvm index a61d75e741..7360bca354 100644 --- a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-postgresql-persistence-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/docker/Dockerfile.jvm index 9035593d3f..170fb97057 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-rest-service-call-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/docker/Dockerfile.jvm index c357883772..0ff2b601e9 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-rest-workitem-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter diff --git a/kogito-quarkus-examples/process-scripts-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-scripts-quarkus/src/main/docker/Dockerfile.jvm index 6c017c3a77..097023e9f7 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-scripts-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-scripts-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/docker/Dockerfile.jvm index 8c37c500a9..4f14bf4bcf 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-service-calls-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-timer-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-timer-quarkus/src/main/docker/Dockerfile.jvm index 0001a08a9a..f2c963245f 100644 --- a/kogito-quarkus-examples/process-timer-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-timer-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-timer-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/docker/Dockerfile.jvm index a1075b9a16..3f58a7bc05 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-usertasks-custom-lifecycle-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/docker/Dockerfile.jvm index 7b27d886e8..885dbfcd2b 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-usertasks-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/docker/Dockerfile.jvm index 5a3eb28c77..6cf7ba8f51 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-usertasks-with-security-oidc-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/docker/Dockerfile.jvm b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/docker/Dockerfile.jvm index f1693e4189..7ae837769e 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/docker/Dockerfile.jvm +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/docker/Dockerfile.jvm @@ -14,7 +14,7 @@ # docker run -i --rm -p 8080:8080 quarkus/process-usertasks-with-security-quarkus-jvm # ### -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV AB_ENABLED=jmx_exporter @@ -23,4 +23,4 @@ COPY target/quarkus-app/*.jar /deployments/ COPY target/quarkus-app/app/ /deployments/app/ COPY target/quarkus-app/quarkus/ /deployments/quarkus/ -ENTRYPOINT [ "/deployments/run-java.sh" ] \ No newline at end of file +ENTRYPOINT [ "/deployments/run-java.sh" ] diff --git a/kogito-springboot-examples/process-monitoring-springboot/Dockerfile b/kogito-springboot-examples/process-monitoring-springboot/Dockerfile index 168d58f661..423ef68398 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/Dockerfile +++ b/kogito-springboot-examples/process-monitoring-springboot/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV RUNTIME_TYPE springboot diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/Dockerfile b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/Dockerfile index c0202c84a8..7ab9a1990f 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/Dockerfile +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/Dockerfile @@ -1,6 +1,6 @@ -FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 ENV RUNTIME_TYPE quarkus COPY target/*-runner.jar $KOGITO_HOME/bin -COPY target/lib $KOGITO_HOME/bin/lib \ No newline at end of file +COPY target/lib $KOGITO_HOME/bin/lib diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/README.md b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/README.md index 617e0f68e3..afe6d4b680 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/README.md +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/README.md @@ -101,7 +101,7 @@ You should see a similar output like this:
Build logs ``` ---> Building and pushing image using tag quay.io/your_namespace/pr-checker-workflow:latest -STEP 1: FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.18 +STEP 1: FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20 STEP 2: ENV RUNTIME_TYPE quarkus STEP 3: COPY target/*-runner.jar $KOGITO_HOME/bin --> 58760d128d8 @@ -177,4 +177,4 @@ Talk to the cluster administrator to understand how your cluster and Istio Ingre ### Cleaning up! -See the project root's [README](./README.md) documentation. \ No newline at end of file +See the project root's [README](./README.md) documentation. diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/docker/Dockerfile.jvm b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/docker/Dockerfile.jvm index 8d07672218..6bf18a89d6 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/docker/Dockerfile.jvm +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/docker/Dockerfile.jvm @@ -75,7 +75,7 @@ # accessed directly. (example: "foo.example.com,bar.example.com") # ### -FROM registry.access.redhat.com/ubi8/openjdk-17:1.18 +FROM registry.access.redhat.com/ubi8/openjdk-17:1.20 ENV LANGUAGE='en_US:en' diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/docker/Dockerfile.legacy-jar b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/docker/Dockerfile.legacy-jar index d3d41e1892..96b4e6baca 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/docker/Dockerfile.legacy-jar +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/docker/Dockerfile.legacy-jar @@ -75,7 +75,7 @@ # accessed directly. (example: "foo.example.com,bar.example.com") # ### -FROM registry.access.redhat.com/ubi8/openjdk-17:1.18 +FROM registry.access.redhat.com/ubi8/openjdk-17:1.20 ENV LANGUAGE='en_US:en'