Skip to content

Disambiguate OpenJDK musl & glibc #81

@sh41

Description

@sh41

Hi @joschi, me again 😊 , it looks like the adoptopenjdk source also has an issue where alpine/musl builds aren't distinguished from glibc builds.

$ jq '.[] | select(.version == "24.0.2+12" and .architecture == "x86_64" and .os == "linux" and .image_type == "jdk") ' < adoptopenjdk/all.json

A diff

5c5
<   "filename": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz",
---
>   "filename": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz",
9,10c9,10
<   "md5": "b20a2685d018793e0403d1b84a1a51a0",
<   "md5_file": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz.md5",
---
>   "md5": "da2c73b9e8cc6a1dbaeebd7ec9aa0d19",
>   "md5_file": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz.md5",
13,20c13,20
<   "sha1": "6373ffdacfe7697651db85a55304e9109adb62ac",
<   "sha1_file": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz.sha1",
<   "sha256": "947ba234c65cdbd4d852e8f2812334ed093530d86b32cca5d9b45d6672186f77",
<   "sha256_file": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz.sha256",
<   "sha512": "f73a36635dd287cc71466dfd4101f18b944d524d0a88879f54e68247eb11271766fda0b04ae9ceb5ff09ec19ed0ed1091371fdb7f0595dad78759d89efc660d3",
<   "sha512_file": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz.sha512",
<   "size": 139367858,
<   "url": "https://github.com/adoptium/temurin24-binaries/releases/download/jdk-24.0.2%2B12/OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz",
---
>   "sha1": "d2bbaa3136e43dc3ce18446aef08820276b16951",
>   "sha1_file": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz.sha1",
>   "sha256": "aea1cc55e51cf651c85f2f00ad021603fe269c4bb6493fa97a321ad770c9b096",
>   "sha256_file": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz.sha256",
>   "sha512": "99b8c6f7125e1cb6cd252805f9db7779edf161c4908f7c523d9c6746aa7487f008ce0900bf5244fecfc3a34702201a1b94fd4aaa86cb3958216c4f872d9e824d",
>   "sha512_file": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz.sha512",
>   "size": 139224469,
>   "url": "https://github.com/adoptium/temurin24-binaries/releases/download/jdk-24.0.2%2B12/OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz",

Data:

{
  "architecture": "x86_64",
  "features": [],
  "file_type": "tar.gz",
  "filename": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz",
  "image_type": "jdk",
  "java_version": "24.0.2+12",
  "jvm_impl": "hotspot",
  "md5": "b20a2685d018793e0403d1b84a1a51a0",
  "md5_file": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz.md5",
  "os": "linux",
  "release_type": "ga",
  "sha1": "6373ffdacfe7697651db85a55304e9109adb62ac",
  "sha1_file": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz.sha1",
  "sha256": "947ba234c65cdbd4d852e8f2812334ed093530d86b32cca5d9b45d6672186f77",
  "sha256_file": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz.sha256",
  "sha512": "f73a36635dd287cc71466dfd4101f18b944d524d0a88879f54e68247eb11271766fda0b04ae9ceb5ff09ec19ed0ed1091371fdb7f0595dad78759d89efc660d3",
  "sha512_file": "OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz.sha512",
  "size": 139367858,
  "url": "https://github.com/adoptium/temurin24-binaries/releases/download/jdk-24.0.2%2B12/OpenJDK24U-jdk_x64_alpine-linux_hotspot_24.0.2_12.tar.gz",
  "vendor": "adoptopenjdk",
  "version": "24.0.2+12"
}
{
  "architecture": "x86_64",
  "features": [],
  "file_type": "tar.gz",
  "filename": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz",
  "image_type": "jdk",
  "java_version": "24.0.2+12",
  "jvm_impl": "hotspot",
  "md5": "da2c73b9e8cc6a1dbaeebd7ec9aa0d19",
  "md5_file": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz.md5",
  "os": "linux",
  "release_type": "ga",
  "sha1": "d2bbaa3136e43dc3ce18446aef08820276b16951",
  "sha1_file": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz.sha1",
  "sha256": "aea1cc55e51cf651c85f2f00ad021603fe269c4bb6493fa97a321ad770c9b096",
  "sha256_file": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz.sha256",
  "sha512": "99b8c6f7125e1cb6cd252805f9db7779edf161c4908f7c523d9c6746aa7487f008ce0900bf5244fecfc3a34702201a1b94fd4aaa86cb3958216c4f872d9e824d",
  "sha512_file": "OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz.sha512",
  "size": 139224469,
  "url": "https://github.com/adoptium/temurin24-binaries/releases/download/jdk-24.0.2%2B12/OpenJDK24U-jdk_x64_linux_hotspot_24.0.2_12.tar.gz",
  "vendor": "adoptopenjdk",
  "version": "24.0.2+12"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions