forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
node_archives.bzl
58 lines (52 loc) · 2.28 KB
/
node_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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def repositories():
# Node (https://nodejs.org/en/about/releases/)
# Follow Node's maintainence schedule and support all LTS versions that are not end of life
http_archive(
name = "nodejs14_amd64",
build_file = "//nodejs:BUILD.nodejs",
sha256 = "921680e244b813d6ffe06a4c22f87f05f39be635973c79486b2ded12a946cb37",
strip_prefix = "node-v14.20.0-linux-x64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v14.20.0/node-v14.20.0-linux-x64.tar.gz"],
)
http_archive(
name = "nodejs16_amd64",
build_file = "//nodejs:BUILD.nodejs",
sha256 = "4827808e50b8ee42b4dadf056835287dac267b9cff56cea56e70843bf8cecb79",
strip_prefix = "node-v16.17.0-linux-x64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v16.17.0/node-v16.17.0-linux-x64.tar.gz"],
)
http_archive(
name = "nodejs18_amd64",
build_file = "//nodejs:BUILD.nodejs",
sha256 = "01c2060503bb42caa1c6cc2ee4b432f80c0b38ad46b4eed956774fb36302f46e",
strip_prefix = "node-v18.8.0-linux-x64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v18.8.0/node-v18.8.0-linux-x64.tar.gz"],
)
http_archive(
name = "nodejs14_arm64",
build_file = "//nodejs:BUILD.nodejs",
sha256 = "d2d15363a2f3a0446983d51a90af7942fe8b1dd4a7f16128dfe718b3bf56dc07",
strip_prefix = "node-v14.20.0-linux-arm64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v14.20.0/node-v14.20.0-linux-arm64.tar.gz"],
)
http_archive(
name = "nodejs16_arm64",
build_file = "//nodejs:BUILD.nodejs",
sha256 = "0e83e93bd3658f4ae516b5f1f174190bd87aaae3d691eb91a8945eed04dc8491",
strip_prefix = "node-v16.17.0-linux-arm64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v16.17.0/node-v16.17.0-linux-arm64.tar.gz"],
)
http_archive(
name = "nodejs18_arm64",
build_file = "//nodejs:BUILD.nodejs",
sha256 = "94cbe9128f1319b18fe33255f753da16ae7eca2f652afdfb1aabe75c3aa75631",
strip_prefix = "node-v18.8.0-linux-arm64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v18.8.0/node-v18.8.0-linux-arm64.tar.gz"],
)