lagom / lagom-samples

https://developer.lightbend.com/start/?group=lagom
Creative Commons Zero v1.0 Universal
86 stars 82 forks source link

Use red hat docker images for Java applications #15

Open marcospereira opened 5 years ago

marcospereira commented 5 years ago

https://access.redhat.com/containers/#/registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift

We are currently using adoptopenjdk/openjdk8.

TimMoore commented 5 years ago

This should probably use the new Universal Base Image, which can be used by both Red Hat customers and anyone else: https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image

The original image linked in the description is only available to OpenShift customers, so we would have had to support two different base image options. Now we don't have to!

Unfortunately, they don't currently provide a base image with a JVM, but you can use the one that includes yum and use it to install the OpenJDK 8 package.