forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnode_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 = "c85b16d1a4c259d01be7111ecb0361260627e4fc245004a920521eacb28e50df",
strip_prefix = "node-v16.16.0-linux-x64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.gz"],
)
http_archive(
name = "nodejs18_amd64",
build_file = "//nodejs:BUILD.nodejs",
sha256 = "0bef16a77faed5220c2ea1555f7bd19ea79bfbb848dba62fbe9d43eb1a36fce0",
strip_prefix = "node-v18.7.0-linux-x64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v18.7.0/node-v18.7.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 = "378a3998e7c4dabd0cbd96b05a1b08e834c4b607f09c0745072de9423626fca4",
strip_prefix = "node-v16.16.0-linux-arm64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-arm64.tar.gz"],
)
http_archive(
name = "nodejs18_arm64",
build_file = "//nodejs:BUILD.nodejs",
sha256 = "d971f644d3143422eb7a517e08c38a45a43cae14d977b3b96ff61b64f3a26b04",
strip_prefix = "node-v18.7.0-linux-arm64/",
type = "tar.gz",
urls = ["https://nodejs.org/dist/v18.7.0/node-v18.7.0-linux-arm64.tar.gz"],
)