Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kie-issues#1285: Remove unnecessary base image from quarkus examples (quay.io/kiegroup/kogito-runtime-jvm:latest) #1980

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.20

ENV RUNTIME_TYPE quarkus

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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" ]
ENTRYPOINT [ "/deployments/run-java.sh" ]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/kiegroup/kogito-runtime-jvm:latest
FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/openjdk-17:1.20

ENV RUNTIME_TYPE springboot

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM quay.io/kiegroup/kogito-runtime-jvm:latest
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
COPY target/lib $KOGITO_HOME/bin/lib
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ You should see a similar output like this:
<details><summary>Build logs</summary>
```
---> 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.20
STEP 2: ENV RUNTIME_TYPE quarkus
STEP 3: COPY target/*-runner.jar $KOGITO_HOME/bin
--> 58760d128d8
Expand Down Expand Up @@ -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.
See the project root's [README](./README.md) documentation.
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
Loading