forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
42 lines (38 loc) · 2.09 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
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle")
container_bundle(
name = "all",
images = {
"gcr.io/{PROJECT_ID}/static:nonroot": "//base:static-nonroot",
"gcr.io/{PROJECT_ID}/base:nonroot": "//base:base-nonroot",
"gcr.io/{PROJECT_ID}/base:debug": "//base:debug",
"gcr.io/{PROJECT_ID}/base:debug-nonroot": "//base:debug-nonroot",
"gcr.io/{PROJECT_ID}/cc:debug": "//cc:debug",
"gcr.io/{PROJECT_ID}/java:latest": "//java:java8",
"gcr.io/{PROJECT_ID}/java:8": "//java:java8",
"gcr.io/{PROJECT_ID}/java:debug": "//java:java8_debug",
"gcr.io/{PROJECT_ID}/java:8-debug": "//java:java8_debug",
"gcr.io/{PROJECT_ID}/java:11": "//java:java11",
"gcr.io/{PROJECT_ID}/java:11-debug": "//java:java11_debug",
"gcr.io/{PROJECT_ID}/java/jetty:latest": "//java/jetty:jetty_java8",
"gcr.io/{PROJECT_ID}/java/jetty:java8": "//java/jetty:jetty_java8",
"gcr.io/{PROJECT_ID}/java/jetty:debug": "//java/jetty:jetty_java8_debug",
"gcr.io/{PROJECT_ID}/java/jetty:java8-debug": "//java/jetty:jetty_java8_debug",
"gcr.io/{PROJECT_ID}/java/jetty:java11": "//java/jetty:jetty_java11",
"gcr.io/{PROJECT_ID}/java/jetty:java11-debug": "//java/jetty:jetty_java11_debug",
"gcr.io/{PROJECT_ID}/python3:latest": "//experimental/python3:python3",
"gcr.io/{PROJECT_ID}/python3:debug": "//experimental/python3:debug",
"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",
"gcr.io/{PROJECT_ID}/dotnet:debug": "//experimental/dotnet:debug",
},
)
load("@io_bazel_rules_docker//contrib:push-all.bzl", "container_push")
container_push(
name = "publish",
bundle = ":all",
format = "Docker",
)