summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/runner/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'test/iptables/runner/BUILD')
-rw-r--r--test/iptables/runner/BUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/iptables/runner/BUILD b/test/iptables/runner/BUILD
new file mode 100644
index 000000000..c6c42d870
--- /dev/null
+++ b/test/iptables/runner/BUILD
@@ -0,0 +1,16 @@
+load("@io_bazel_rules_docker//go:image.bzl", "go_image")
+load("@io_bazel_rules_docker//container:container.bzl", "container_image")
+
+package(licenses = ["notice"])
+
+container_image(
+ name = "iptables-base",
+ base = "@iptables-test//image",
+)
+
+go_image(
+ name = "runner",
+ srcs = ["main.go"],
+ base = ":iptables-base",
+ deps = ["//test/iptables"],
+)