Git Product home page Git Product logo

Comments (8)

edeandrea avatar edeandrea commented on June 20, 2024 1

Hey @cescoffier now that https://catalog.redhat.com/software/containers/ubi9/openjdk-21-runtime/6501ce769a0d86945c422d5f, quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21, and https://github.com/graalvm/mandrel/releases/tag/mandrel-23.1.1.0-Final are all out, do you think we should switch the superheroes to ONLY have Java 21?

Or should we have deployments for both 17 & 21, like we used to do for 11 & 17. We would only use 21 for native - I'm thinking just on the JVM side.

I'm almost to the point of saying forget about 17, just go fully to 21.

@holly-cummins / @agoncal / @cescoffier WDYT?

from quarkus-super-heroes.

edeandrea avatar edeandrea commented on June 20, 2024

@cescoffier With this we will publish both a JVM Java 17 & 21 container image for each app. Should we do the same with native? Or just a "latest" native (Java 21)?

When we were doing both Java 11 & 17 we did both for JVM images but only did a 17 native. I'm thinking we continue with this pattern.

Thoughts?

from quarkus-super-heroes.

cescoffier avatar cescoffier commented on June 20, 2024

from quarkus-super-heroes.

edeandrea avatar edeandrea commented on June 20, 2024

Well for now for native I would switch to use quay.io/quarkus/ubi-quarkus-graalvmce-builder-image:jdk-21

from quarkus-super-heroes.

cescoffier avatar cescoffier commented on June 20, 2024

from quarkus-super-heroes.

edeandrea avatar edeandrea commented on June 20, 2024

Right. I get that.

What about building a container image for jvm on 21? There is no openjdk-21 image on registry.access.redhat.com. For now maybe I'll try to build my own on ubi-minimal.

from quarkus-super-heroes.

cescoffier avatar cescoffier commented on June 20, 2024

from quarkus-super-heroes.

edeandrea avatar edeandrea commented on June 20, 2024

This is what I'm going with for now...

FROM azul/zulu-openjdk:21-jre
RUN mkdir -p /deployments/lib && \
    mkdir -p /deployments/app && \
    mkdir -p /deployments/quarkus

ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en'

# We make four distinct layers so if there are application changes the library layers can be re-used
COPY target/quarkus-app/lib/ /deployments/lib/
COPY target/quarkus-app/*.jar /deployments/
COPY target/quarkus-app/app/ /deployments/app/
COPY target/quarkus-app/quarkus/ /deployments/quarkus/

EXPOSE 8087

ENTRYPOINT ["java", "-jar", "/deployments/quarkus-run.jar", "-Dquarkus.http.host=0.0.0.0", "-Djava.util.logging.manager=org.jboss.logmanager.LogManager"]

from quarkus-super-heroes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.