forked from buildfarm/buildfarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimages.bzl
51 lines (43 loc) · 1.6 KB
/
images.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
"""
buildfarm images that can be imported into other WORKSPACE files
"""
load("@io_bazel_rules_docker//repositories:deps.bzl", container_deps = "deps")
load("@io_bazel_rules_docker//container:container.bzl", "container_pull")
def buildfarm_images():
"""
Pull the necessary base containers to be used for image definitions.
"""
container_deps()
container_pull(
name = "java_image_base",
digest = "sha256:8c1769cb253bdecc257470f7fba05446a55b70805fa686f227a11655a90dfe9e",
registry = "gcr.io",
repository = "distroless/java",
)
container_pull(
name = "java_debug_image_base",
digest = "sha256:57c99181c9dea202a185970678f723496861b4ce3c534f35f29fe58964eb720c",
registry = "gcr.io",
repository = "distroless/java",
)
container_pull(
name = "ubuntu-bionic",
digest = "sha256:4bc527c7a288da405f2041928c63d0a6479a120ad63461c2f124c944def54be2",
registry = "index.docker.io",
repository = "bazelbuild/buildfarm-worker-base",
tag = "bionic-java11-gcc",
)
container_pull(
name = "ubuntu-jammy",
digest = "sha256:da847ee259ebe7f00631a2f0146d9add60ff0f94b031a2e522ce94c78b1335c2",
registry = "index.docker.io",
repository = "bazelbuild/buildfarm-worker-base",
tag = "jammy-java11-gcc",
)
container_pull(
name = "amazon_corretto_java_image_base",
registry = "index.docker.io",
repository = "amazoncorretto",
tag = "19",
digest = "sha256:81d0df4412140416b27211c999e1f3c4565ae89a5cd92889475d20af422ba507",
)