forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
26 lines (22 loc) · 756 Bytes
/
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
# Public notice: this file is for internal documentation, testing, and
# reference only. Note that repo maintainers can freely change any part of the
# repository code at any time.
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_docker//container:container.bzl", "container_image")
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
container_image(
name = "hello",
base = "//experimental/dotnet:dotnet",
cmd = [
"dotnet",
"/bin/Release/netcoreapp2.0/hello.dll",
],
files = [":bin"],
)
load("@io_bazel_rules_docker//contrib:test.bzl", "container_test")
container_test(
name = "hello_test",
size = "small",
configs = ["testdata/hello.yaml"],
image = ":hello",
)