rockcrafters / chiselled-jre

A distroless-like Java Runtime image based on Ubuntu
Other
2 stars 6 forks source link

feat: add java link in /usr/bin #423

Closed vpa1977 closed 2 weeks ago

vpa1977 commented 2 weeks ago

Changes proposed in this pull request:

This is done to align Java 8 and 17 containers - both should be able to launch java from /usr/bin

docker run --entrypoint=/usr/bin/java jre 
Usage: java [options] <mainclass> [args...]
           (to execute a class)
   or  java [options] -jar <jarfile> [args...]
           (to execute a jar file)
   or  java [options] -m <module>[/<mainclass>] [args...]
       java [options] --module <module>[/<mainclass>] [args...]
           (to execute the main class in a module)
   or  java [options] <sourcefile> [args]
           (to execute a single source-file program)
...

Picture of a cool ROCK: