mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-05 05:19:42 +00:00
refactor: replace go-bindata with native embed package
Signed-off-by: muicoder <muicoder@gmail.com> Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
@@ -79,6 +79,7 @@ LDFLAGS="
|
||||
"
|
||||
TAGS="urfave_cli_no_docs"
|
||||
STATIC="-extldflags '-static'"
|
||||
cp -av build/data/* pkg/data/embed/
|
||||
CGO_ENABLED=0 "${GO}" build -tags "$TAGS" -buildvcs=false -ldflags "$LDFLAGS $STATIC" -o ${CMD_NAME} ./cmd/k3s
|
||||
|
||||
stat ${CMD_NAME}
|
||||
|
||||
Reference in New Issue
Block a user