GithubHelp home page GithubHelp logo

Comments (3)

dmikusa avatar dmikusa commented on September 23, 2024 1

Yes, especially when a JRE is ~50M and the average Java app w/JARs is another 20+M.

Glad you got it working. I'll close this out.

from bellsoft-liberica.

dmikusa avatar dmikusa commented on September 23, 2024

Or the builder is not yet ready for JDK21?

Correct. Bellsoft needs to update and publish a new builder.

Alternatively, you can switch to using the Paketo builder and have Java 21 now. Run pack config default-builder paketobuildpacks/builder-jammy-tiny or add the -B paketobuildpacks/builder-jammy-tiny option to your pack build command.

The Paketo builder is based on Ubuntu Jammy and the tiny variant is a less-than 20M, hardened base image for your Java apps.

> docker images
REPOSITORY                        TAG        IMAGE ID       CREATED        SIZE
paketobuildpacks/run-jammy-tiny   latest     d1fc6fbfa290   6 days ago     18.6MB

Hope that helps!

from bellsoft-liberica.

lucaguada avatar lucaguada commented on September 23, 2024

In the end, I came up with the same solution, but I hoped for Alpaquita since it weighs only 7 Mb, if I recall correctly.

It is not that critical though, ~12 Mb's are not a big difference.

from bellsoft-liberica.

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.