mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 07:29:38 -05:00
disk-mapper: package as tar
This commit is contained in:
parent
825dab0e0b
commit
9a5566de21
@ -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("@rules_pkg//:pkg.bzl", "pkg_tar")
|
||||||
load("//bazel/go:platform.bzl", "platform_binary")
|
load("//bazel/go:platform.bzl", "platform_binary")
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
@ -44,3 +45,13 @@ platform_binary(
|
|||||||
target_file = ":cmd",
|
target_file = ":cmd",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
pkg_tar(
|
||||||
|
name = "disk-mapper-package",
|
||||||
|
srcs = [
|
||||||
|
":disk-mapper_linux_amd64",
|
||||||
|
],
|
||||||
|
mode = "0755",
|
||||||
|
remap_paths = {"/platform:linux_amd64_gnu.2.23": "/usr/sbin/disk-mapper"},
|
||||||
|
visibility = ["//visibility:public"],
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user