forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
96 lines (92 loc) · 6.92 KB
/
BUILD
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle")
container_bundle(
name = "all",
images = {
"gcr.io/{PROJECT_ID}/base:latest": "//base:base_debian9",
"gcr.io/{PROJECT_ID}/base:nonroot": "//base:base_nonroot_debian9",
"gcr.io/{PROJECT_ID}/base:debug": "//base:debug_debian9",
"gcr.io/{PROJECT_ID}/base:debug-nonroot": "//base:debug_nonroot_debian9",
"gcr.io/{PROJECT_ID}/base-debian9:latest": "//base:base_debian9",
"gcr.io/{PROJECT_ID}/base-debian9:nonroot": "//base:base_nonroot_debian9",
"gcr.io/{PROJECT_ID}/base-debian9:debug": "//base:debug_debian9",
"gcr.io/{PROJECT_ID}/base-debian9:debug-nonroot": "//base:debug_nonroot_debian9",
"gcr.io/{PROJECT_ID}/base-debian10:latest": "//base:base_debian10",
"gcr.io/{PROJECT_ID}/base-debian10:nonroot": "//base:base_nonroot_debian10",
"gcr.io/{PROJECT_ID}/base-debian10:debug": "//base:debug_debian10",
"gcr.io/{PROJECT_ID}/base-debian10:debug-nonroot": "//base:debug_nonroot_debian10",
"gcr.io/{PROJECT_ID}/static:latest": "//base:static_debian9",
"gcr.io/{PROJECT_ID}/static:nonroot": "//base:static_nonroot_debian9",
"gcr.io/{PROJECT_ID}/static-debian9:latest": "//base:static_debian9",
"gcr.io/{PROJECT_ID}/static-debian9:nonroot": "//base:static_nonroot_debian9",
"gcr.io/{PROJECT_ID}/static-debian10:latest": "//base:static_debian10",
"gcr.io/{PROJECT_ID}/static-debian10:nonroot": "//base:static_nonroot_debian10",
"gcr.io/{PROJECT_ID}/cc:latest": "//cc:cc_debian9",
"gcr.io/{PROJECT_ID}/cc:debug": "//cc:debug_debian9",
"gcr.io/{PROJECT_ID}/cc-debian9:latest": "//cc:cc_debian9",
"gcr.io/{PROJECT_ID}/cc-debian9:debug": "//cc:debug_debian9",
"gcr.io/{PROJECT_ID}/cc-debian10:latest": "//cc:cc_debian10",
"gcr.io/{PROJECT_ID}/cc-debian10:debug": "//cc:debug_debian10",
"gcr.io/{PROJECT_ID}/java:latest": "//java:java8_debian9",
"gcr.io/{PROJECT_ID}/java:8": "//java:java8_debian9",
"gcr.io/{PROJECT_ID}/java:debug": "//java:java8_debug_debian9",
"gcr.io/{PROJECT_ID}/java:8-debug": "//java:java8_debug_debian9",
"gcr.io/{PROJECT_ID}/java:11": "//java:java11_debian9",
"gcr.io/{PROJECT_ID}/java:11-debug": "//java:java11_debug_debian9",
"gcr.io/{PROJECT_ID}/java-debian9:latest": "//java:java8_debian9",
"gcr.io/{PROJECT_ID}/java-debian9:8": "//java:java8_debian9",
"gcr.io/{PROJECT_ID}/java-debian9:debug": "//java:java8_debug_debian9",
"gcr.io/{PROJECT_ID}/java-debian9:8-debug": "//java:java8_debug_debian9",
"gcr.io/{PROJECT_ID}/java-debian9:11": "//java:java11_debian9",
"gcr.io/{PROJECT_ID}/java-debian9:11-debug": "//java:java11_debug_debian9",
"gcr.io/{PROJECT_ID}/java-debian10:latest": "//java:java11_debian10",
"gcr.io/{PROJECT_ID}/java-debian10:11": "//java:java11_debian10",
"gcr.io/{PROJECT_ID}/java-debian10:debug": "//java:java11_debug_debian10",
"gcr.io/{PROJECT_ID}/java-debian10:11-debug": "//java:java11_debug_debian10",
"gcr.io/{PROJECT_ID}/java/jetty:latest": "//java/jetty:jetty_java8_debian9",
"gcr.io/{PROJECT_ID}/java/jetty:java8": "//java/jetty:jetty_java8_debian9",
"gcr.io/{PROJECT_ID}/java/jetty:debug": "//java/jetty:jetty_java8_debug_debian9",
"gcr.io/{PROJECT_ID}/java/jetty:java8-debug": "//java/jetty:jetty_java8_debug_debian9",
"gcr.io/{PROJECT_ID}/java/jetty:java11": "//java/jetty:jetty_java11_debian9",
"gcr.io/{PROJECT_ID}/java/jetty:java11-debug": "//java/jetty:jetty_java11_debug_debian9",
"gcr.io/{PROJECT_ID}/java-debian9/jetty:latest": "//java/jetty:jetty_java8_debian9",
"gcr.io/{PROJECT_ID}/java-debian9/jetty:java8": "//java/jetty:jetty_java8_debian9",
"gcr.io/{PROJECT_ID}/java-debian9/jetty:debug": "//java/jetty:jetty_java8_debug_debian9",
"gcr.io/{PROJECT_ID}/java-debian9/jetty:java8-debug": "//java/jetty:jetty_java8_debug_debian9",
"gcr.io/{PROJECT_ID}/java-debian9/jetty:java11": "//java/jetty:jetty_java11_debian9",
"gcr.io/{PROJECT_ID}/java-debian9/jetty:java11-debug": "//java/jetty:jetty_java11_debug_debian9",
"gcr.io/{PROJECT_ID}/java-debian10/jetty:latest": "//java/jetty:jetty_java11_debian10",
"gcr.io/{PROJECT_ID}/java-debian10/jetty:java11": "//java/jetty:jetty_java11_debian10",
"gcr.io/{PROJECT_ID}/java-debian10/jetty:debug": "//java/jetty:jetty_java11_debug_debian10",
"gcr.io/{PROJECT_ID}/java-debian10/jetty:java11-debug": "//java/jetty:jetty_java11_debug_debian10",
"gcr.io/{PROJECT_ID}/python3:latest": "//experimental/python3:python3",
"gcr.io/{PROJECT_ID}/python3:nonroot": "//experimental/python3:python3_nonroot",
"gcr.io/{PROJECT_ID}/python3:debug": "//experimental/python3:debug",
"gcr.io/{PROJECT_ID}/python3:debug-nonroot": "//experimental/python3:debug_nonroot",
"gcr.io/{PROJECT_ID}/python2.7:latest": "//experimental/python2.7:python27",
"gcr.io/{PROJECT_ID}/python2.7:debug": "//experimental/python2.7:debug",
"gcr.io/{PROJECT_ID}/nodejs:latest": "//experimental/nodejs",
"gcr.io/{PROJECT_ID}/nodejs:debug": "//experimental/nodejs:debug",
"gcr.io/{PROJECT_ID}/dotnet:latest": "//experimental/dotnet:dotnet_debian9",
"gcr.io/{PROJECT_ID}/dotnet:debug": "//experimental/dotnet:dotnet_debug_debian9",
"gcr.io/{PROJECT_ID}/dotnet-debian9:latest": "//experimental/dotnet:dotnet_debian9",
"gcr.io/{PROJECT_ID}/dotnet-debian9:debug": "//experimental/dotnet:dotnet_debug_debian9",
"gcr.io/{PROJECT_ID}/dotnet-debian10:latest": "//experimental/dotnet:dotnet_debian10",
"gcr.io/{PROJECT_ID}/dotnet-debian10:debug": "//experimental/dotnet:dotnet_debug_debian10",
"gcr.io/{PROJECT_ID}/dotnet/core/aspnet:latest": "//experimental/dotnet:dotnet_core_aspnet_debian9",
"gcr.io/{PROJECT_ID}/dotnet/core/aspnet:3.1": "//experimental/dotnet:dotnet_core_aspnet_debian9",
"gcr.io/{PROJECT_ID}/dotnet/core/aspnet:debug": "//experimental/dotnet:dotnet_core_aspnet_debug_debian9",
"gcr.io/{PROJECT_ID}/dotnet/core/runtime:latest": "//experimental/dotnet:dotnet_core_runtime_debian9",
"gcr.io/{PROJECT_ID}/dotnet/core/runtime:3.1": "//experimental/dotnet:dotnet_core_runtime_debian9",
"gcr.io/{PROJECT_ID}/dotnet/core/runtime:debug": "//experimental/dotnet:dotnet_core_runtime_debug_debian9",
"gcr.io/{PROJECT_ID}/dotnet/core/sdk:latest": "//experimental/dotnet:dotnet_core_sdk_debian9",
"gcr.io/{PROJECT_ID}/dotnet/core/sdk:3.1": "//experimental/dotnet:dotnet_core_sdk_debian9",
"gcr.io/{PROJECT_ID}/dotnet/core/sdk:debug": "//experimental/dotnet:dotnet_core_sdk_debug_debian9",
},
)
load("@io_bazel_rules_docker//contrib:push-all.bzl", "container_push")
container_push(
name = "publish",
bundle = ":all",
format = "Docker",
)