openwhisk-runtime-java icon indicating copy to clipboard operation
openwhisk-runtime-java copied to clipboard

Multiple Distros for Java Runtimes

Open kameshsampath opened this issue 7 years ago • 3 comments

It will be nice to have OpenWhisk JDK runtimes available on multiple distributions

  • centos
  • debian
  • alpine

The initial work of this can follow the pattern like https://github.com/kameshsampath/adoptopenjdk .

Moving this discussion from #24, #18 to discuss and freeze on this.

@Param-S lets continue the discussion here

@csantanapr - we are moving this discussion into its own thread .

@bbrowning - this is something we started to discuss the other day slack. Please add your thoughts comments here.

kameshsampath avatar Mar 07 '18 14:03 kameshsampath

Also need to consider architect to the matrix of images s390x ppc64 arm (ie raspberry pi/edge device)

csantanapr avatar Mar 07 '18 17:03 csantanapr

I see, 2 requirements,

  1. Supporting different architectures
  2. Supporting different distributions

Yes, I agree with supporting different architectures . But do we need to support images based on different distributions. Can't we have single distribution across multiple architectures. (could be alpine/musl based image).

Param-S avatar Mar 08 '18 05:03 Param-S

But do we need to support images based on different distributions. Can't we have single distribution across multiple architectures. (could be alpine/musl based image).

IMHO yes. My thoughts:

  • Alpine is not suited for production env and it has some security flaws. I have seen some thread where they have issues with JDK > 1.8.1 u131 - this where Java started to understand cgroups still experimental options but soon would be in mainstream.

  • When to increase user adoption we need to support popular distros e.g centos and debian, that makes the developer extend these images with their favorite distros

kameshsampath avatar Mar 08 '18 07:03 kameshsampath