forked from buildfarm/buildfarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
images.bzl
41 lines (34 loc) · 1.15 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
"""
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",
registry = "index.docker.io",
repository = "bazelbuild/buildfarm-worker-base",
tag = "bionic-java11-gcc",
)
container_pull(
name = "amazon_corretto_java_image_base",
registry = "index.docker.io",
repository = "amazoncorretto",
tag = "15",
)