gazelle
This commit is contained in:
parent
82c2d77d04
commit
afa64b46b7
14
BUILD
14
BUILD
@ -1,6 +1,8 @@
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
||||
load("//src/undocker:rules.bzl", "rootfs")
|
||||
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle",
|
||||
load(
|
||||
"@io_bazel_rules_docker//container:container.bzl",
|
||||
"container_bundle",
|
||||
)
|
||||
|
||||
go_library(
|
||||
@ -22,12 +24,12 @@ go_binary(
|
||||
)
|
||||
|
||||
container_bundle(
|
||||
name="alpine",
|
||||
images={"base": "@alpine//image"},
|
||||
name = "alpine",
|
||||
images = {"base": "@alpine//image"},
|
||||
)
|
||||
|
||||
rootfs(
|
||||
name="alpine-rootfs1",
|
||||
src=":alpine.tar",
|
||||
output="alpine-rootfs.tar",
|
||||
name = "alpine-rootfs1",
|
||||
src = ":alpine.tar",
|
||||
output = "alpine-rootfs.tar",
|
||||
)
|
||||
|
@ -12,5 +12,8 @@ go_test(
|
||||
name = "go_default_test",
|
||||
srcs = ["tartest_test.go"],
|
||||
embed = [":go_default_library"],
|
||||
deps = ["@com_github_stretchr_testify//assert:go_default_library"],
|
||||
deps = [
|
||||
"@com_github_stretchr_testify//assert:go_default_library",
|
||||
"@com_github_stretchr_testify//require:go_default_library",
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user