Giter VIP home page Giter VIP logo

Comments (7)

edwmamedov avatar edwmamedov commented on May 25, 2024 1

Sorry, we are extending your Dockerfile with slim version, that remove nashorn engine.

from docker-alpine-java.

frol avatar frol commented on May 25, 2024

Does :full tag work for you?

from docker-alpine-java.

edwmamedov avatar edwmamedov commented on May 25, 2024

I didn't try, we can not change jdk version to full.

from docker-alpine-java.

frol avatar frol commented on May 25, 2024

What is the exact reason which prevents you from using a tag which is different from cleaned?

I don't have numbers off the top of my head, but I guess that JS engine was quite heavy, so I cleaned it up since it doesn't seem to be quite commonly used, and there is always an option to go with :full if needed.

from docker-alpine-java.

frol avatar frol commented on May 25, 2024

By the way, I have inspected the Dockerfile and it seems that nashorn.jar gets deleted only for the :slim tag, thus I would expect it working in the :cleaned version of the image.

from docker-alpine-java.

edwmamedov avatar edwmamedov commented on May 25, 2024

@frol we have lot of microservices that coming soon to production, we can't do such things only to support annotation that relies on javascript functionality (hibernate validator). I don't think that it is good idea to remove jsr-223 support from java.

from docker-alpine-java.

frol avatar frol commented on May 25, 2024

I understand your desire to keep away from such a breaking change, but even if I "fix" it somehow (as I pointed out in my previous message, I don't expect Nashorn being deleted in the :cleaned tag, so it is unclear what else might be the cause), that would most probably become a breaking change for you anyway... I can only suggest you fork the image to be in control of what you need.

I don't think that it is good idea to remove jsr-223 support from java.

I don't write Java code at all, but I have been using this image (in fact, I use :slim version of it) to build and package exising Java projects for over 3 years now (and Docker Hub stats show that this image has been pulled over 1M times, so I would expect reports if anything like this is a problem for anyone).

In any case, testing with :full tag may at least help us to make sure that the issue is caused by some module being missing instead of something else (e.g. hidden glibc issue)

from docker-alpine-java.

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.