Alpine Linux on x64 and AArch64
COURTAULT Francois
francois.courtault at thalesgroup.com
Mon May 17 14:45:54 UTC 2021
Hello Mikael,
If I may:
- I think most companies which take care of security and deploy their solutions using µService architecture will have some interests to use a Java Alpine-Linux base image.
- I also think that, as you have included in OpenJDK, everything needed for java to run fine on AlpineLinux, there are some interests to do so, right ?
- If I remember well there was a binary for AlpineLinux (built by Oracle) provided for OpenJDK 8, right ? Why not having that for at least OpenJDK 11 (eg LTS releases)?
One way to check that is to perform a survey.
Best Regards.
-----Original Message-----
From: portola-dev <portola-dev-retn at openjdk.java.net> On Behalf Of Mikael Vidstedt
Sent: lundi 17 mai 2021 00:01
To: COURTAULT Francois <francois.courtault at thalesgroup.com>
Cc: Aleksei Voitylov <aleksei.voitylov at bell-sw.com>; Lilian BENOIT <lilian.benoit at lbenoit.fr>; portola-dev at openjdk.java.net
Subject: Re: Alpine Linux on x64 and AArch64
OpenJDK is a source project which does not deliver binaries. JEP 386 added the necessary source code support for the Alpine/musl port to mainline JDK. Different vendors or individuals can take that source code and create JDK binaries from it. Some of those binaries end up published on various web sites.
jdk.java.net<http://jdk.java.net/> is where Oracle publishes GPL licensed JDK binaries (built by Oracle). Oracle does not build or support all the different ports that are available in the OpenJDK project. We have for some time been publishing early access binaries of the Alpine/musl port, but have not elected to include the port in the set of binaries we publish as part of the GA and provide updates for. The cost of building, testing, and maintaining a port over time is non-zero and so far the interest in the port has not been high enough to motivate that investment. If there is sufficient interest in Oracle providing such a port we may reconsider that.
Cheers,
Mikael
On May 14, 2021, at 2:41 AM, COURTAULT Francois <francois.courtault at thalesgroup.com<mailto:francois.courtault at thalesgroup.com>> wrote:
Hello Aleksei,
This is something I don't get.
If the code linked to JEP 386 includes in OpenJDK 16, is production ready (contradictory with the sentence "Alpine Linux Build is not included in JDK 16 because it isn't enough mature for production.") , why this build is not available at http://jdk.java.net/16/ ?
Best Regards.
-----Original Message-----
From: portola-dev <portola-dev-retn at openjdk.java.net<mailto:portola-dev-retn at openjdk.java.net>> On Behalf Of Aleksei Voitylov
Sent: vendredi 14 mai 2021 01:00
To: Lilian BENOIT <lilian.benoit at lbenoit.fr<mailto:lilian.benoit at lbenoit.fr>>
Cc: portola-dev at openjdk.java.net<mailto:portola-dev at openjdk.java.net>
Subject: Re: Alpine Linux on x64 and AArch64
Hi Lilian,
the code integrated in OpenJDK project source code as part of JEP 386 into JDK 16 is production ready, otherwise it would not have been integrated. It's possible to build OpenJDK for Alpine Linux with the provided instructions [1] or find an OpenJDK distribution that provides pre-built binaries for the target architecture of your choice.
Thanks,
-Aleksei
[1] https://openjdk.java.net/groups/build/doc/building.html
On 10/05/2021 18:51, Lilian BENOIT wrote:
Hi everyone,
In JEP 386, Alpine Linux Port, this summary is "Port the JDK to Alpine Linux, and to other Linux distributions that use musl as their primary C library, on both the x64 and AArch64 architectures"
Alpine Linux Build is not included in JDK 16 because it isn't enough mature for production. (cf. notes on http://jdk.java.net/16/)
This build is available on JDK 17 => Alpine Linux / x64
But should it not available too on Alpine Linux / AArch64 build ?
Is it on future ?
Best Regards,
Lilian BENOIT.
More information about the portola-dev
mailing list