forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
java_archives.bzl
73 lines (65 loc) · 3 KB
/
java_archives.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# TODO: this should be auto generated by a script
load("//private/remote:temurin_archive.bzl", "temurin_archive")
JAVA_RELEASE_VERSIONS = {
"temurin21_jre_amd64": "21.0.2",
"temurin21_jdk_amd64": "21.0.2",
"temurin21_jre_arm64": "21.0.2",
"temurin21_jdk_arm64": "21.0.2",
"temurin21_jre_ppc64le": "21.0.2",
"temurin21_jdk_ppc64le": "21.0.2",
}
def repositories():
temurin_archive(
name = "temurin21_jre_amd64",
sha256 = "51141204fe01a9f9dd74eab621d5eca7511eac67315c9975dbde5f2625bdca55",
strip_prefix = "jdk-21.0.2+13-jre",
urls = ["https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jre_x64_linux_hotspot_21.0.2_13.tar.gz"],
version = "21.0.2+13",
architecture = "amd64",
control = "//java:control",
)
temurin_archive(
name = "temurin21_jdk_amd64",
sha256 = "454bebb2c9fe48d981341461ffb6bf1017c7b7c6e15c6b0c29b959194ba3aaa5",
strip_prefix = "jdk-21.0.2+13",
urls = ["https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_x64_linux_hotspot_21.0.2_13.tar.gz"],
version = "21.0.2+13",
architecture = "amd64",
control = "//java:control",
)
temurin_archive(
name = "temurin21_jre_arm64",
sha256 = "64c78854184c92a4da5cda571c8e357043bfaf03a03434eef58550cc3410d8a4",
strip_prefix = "jdk-21.0.2+13-jre",
urls = ["https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.2_13.tar.gz"],
version = "21.0.2+13",
architecture = "arm64",
control = "//java:control",
)
temurin_archive(
name = "temurin21_jdk_arm64",
sha256 = "3ce6a2b357e2ef45fd6b53d6587aa05bfec7771e7fb982f2c964f6b771b7526a",
strip_prefix = "jdk-21.0.2+13",
urls = ["https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_aarch64_linux_hotspot_21.0.2_13.tar.gz"],
version = "21.0.2+13",
architecture = "arm64",
control = "//java:control",
)
temurin_archive(
name = "temurin21_jre_ppc64le",
sha256 = "caaf48e50787b80b810dc08ee91bd4ffe0d0696bd14906a92f05bf8c14aabb22",
strip_prefix = "jdk-21.0.2+13-jre",
urls = ["https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.2_13.tar.gz"],
version = "21.0.2+13",
architecture = "ppc64le",
control = "//java:control",
)
temurin_archive(
name = "temurin21_jdk_ppc64le",
sha256 = "d08de863499d8851811c893e8915828f2cd8eb67ed9e29432a6b4e222d80a12f",
strip_prefix = "jdk-21.0.2+13",
urls = ["https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.2_13.tar.gz"],
version = "21.0.2+13",
architecture = "ppc64le",
control = "//java:control",
)