Open jankratochvil opened 10 months ago
So you're using a JDK build executed on a newer glibc, and this will fail if running in older environment. Rather than #6 , have you considered building JDK in (older) container, too?
So you're using a JDK build executed on a newer glibc, and this will fail if running in older environment.
Exactly.
Rather than #6 , have you considered building JDK in (older) container, too?
That would obviously work. But that is a bit complicated plus one will build a JDK only for this example-lambda/ and the build is not useful for later real use.
example-lambda/README.md states one should download a binary from Github but running random binaries from internet I find insecure. That will make from Linux the same what became Windows.
(1) It could either build its own CRaC in the same container it is using for the example run. (2) Or it could detect which container to use from the host OS where the JDK was built. (3) Or it would not use any containers. I do not see what they are good for even in this case.
This option is not possible as the container is being run --privileged
: Or it could download a prebuilt CRaC JDK as the host OS should be secured from the container.
Fedora 38 x86_64:
I expect it tries to run a host-build binaries in
ubuntu:18.04
. That cannot work.