Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Unify Base Images #38

Open
volkflo opened this issue Jul 30, 2021 · 5 comments
Open

Unify Base Images #38

volkflo opened this issue Jul 30, 2021 · 5 comments
Assignees

Comments

@volkflo
Copy link
Member

volkflo commented Jul 30, 2021

We should decide on a base JDK for builds and a small and light JRE image for runtime.

@volkflo volkflo self-assigned this Jul 30, 2021
@msavy
Copy link
Member

msavy commented Aug 5, 2021

Basically any version of Java will work fine. However, my preferences are:

  • Use the same version Java to make our lives easier (latest TLS?).
  • Use a distro that has Shenandoah GC. If you don't use it, then it has no negative impact, but it has plenty of good use-cases for the gateway (low latency for anyone doing stuff with large heap or lots of GC). AdoptOpenJDK and Adoptium I think should be fine.
  • Java 17 LTS will be out soon, so could go for that? Should release next month.
  • Probably use a slim image? e.g. Centos slim or similar?

@volkflo
Copy link
Member Author

volkflo commented Aug 6, 2021

Yes, I would go with the LTS version of java.
For the migration-assistant and the new gateway image, I used the slim JRE images from adoptopenjdk (java 11).
Wildfy and Tomcat are official images.

@msavy
Copy link
Member

msavy commented Aug 6, 2021

I'm personally happy to go with Adopt for all our images because they are backed by Red Hat, IBM, TomiTribe Microsoft, Alibaba, etc.

One other thought I had last night was that we could consider compiling our CLI tools with GraalVM or similar to really squash them down in size to a couple of MB.

@volkflo
Copy link
Member Author

volkflo commented Aug 9, 2021

I would wait till Adoptium releases docker build under the new name and then we could switch.
But I would stay with the official wildfly/tomcat images for now or switch to bitnami for widfly/tomcat because they have good and secure written docker base images.

@volkflo
Copy link
Member Author

volkflo commented Aug 24, 2021

We probably have to wait a while and follow the discussion if we do not want to build the jre ourselves adoptium/temurin-build#2683

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants