blob: b9199387a8a4aae130f821f0121fa9236d53976c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
load("//tools:defs.bzl", "container_image", "go_binary", "go_image")
package(licenses = ["notice"])
go_binary(
name = "runner",
testonly = 1,
srcs = ["main.go"],
deps = ["//test/iptables"],
)
container_image(
name = "iptables-base",
base = "@iptables-test//image",
)
go_image(
name = "runner-image",
testonly = 1,
srcs = ["main.go"],
base = ":iptables-base",
deps = ["//test/iptables"],
)
|