pkg_tar with intermediate
This commit is contained in:
parent
5cac582944
commit
747807f1ea
9
BUILD
9
BUILD
@ -1,4 +1,5 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
||||||
|
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
|
||||||
load("//src/undocker:rules.bzl", "rootfs")
|
load("//src/undocker:rules.bzl", "rootfs")
|
||||||
load(
|
load(
|
||||||
"@io_bazel_rules_docker//container:container.bzl",
|
"@io_bazel_rules_docker//container:container.bzl",
|
||||||
@ -23,7 +24,13 @@ go_binary(
|
|||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
pkg_tar(
|
||||||
|
name = "alpine-container-plus",
|
||||||
|
deps = ["@alpine//image:image"],
|
||||||
|
)
|
||||||
|
|
||||||
rootfs(
|
rootfs(
|
||||||
name = "alpine-rootfs",
|
name = "alpine-rootfs",
|
||||||
src = "@alpine//image:image",
|
#src = "@alpine//image:image",
|
||||||
|
src = ":alpine-container-plus",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user