mirror of https://github.com/docker/cli.git
Merge a829217d2f
into a5fb752ecf
This commit is contained in:
commit
e14134e5bf
|
@ -31,6 +31,7 @@ target "_platforms" {
|
||||||
"darwin/amd64",
|
"darwin/amd64",
|
||||||
"darwin/arm64",
|
"darwin/arm64",
|
||||||
"linux/amd64",
|
"linux/amd64",
|
||||||
|
"linux/arm/v5",
|
||||||
"linux/arm/v6",
|
"linux/arm/v6",
|
||||||
"linux/arm/v7",
|
"linux/arm/v7",
|
||||||
"linux/arm64",
|
"linux/arm64",
|
||||||
|
@ -183,6 +184,7 @@ target "bin-image-cross" {
|
||||||
"darwin/amd64",
|
"darwin/amd64",
|
||||||
"darwin/arm64",
|
"darwin/arm64",
|
||||||
"linux/amd64",
|
"linux/amd64",
|
||||||
|
"linux/arm/v5",
|
||||||
"linux/arm/v6",
|
"linux/arm/v6",
|
||||||
"linux/arm/v7",
|
"linux/arm/v7",
|
||||||
"linux/arm64",
|
"linux/arm64",
|
||||||
|
|
|
@ -21,5 +21,5 @@ for p in cli-plugins/examples/* "$@" ; do
|
||||||
mkdir -p "$(dirname "${TARGET_PLUGIN}")"
|
mkdir -p "$(dirname "${TARGET_PLUGIN}")"
|
||||||
|
|
||||||
echo "Building $GO_LINKMODE $(basename "${TARGET_PLUGIN}")"
|
echo "Building $GO_LINKMODE $(basename "${TARGET_PLUGIN}")"
|
||||||
(set -x ; GO111MODULE=auto go build -o "${TARGET_PLUGIN}" -tags "${GO_BUILDTAGS}" -ldflags "${GO_LDFLAGS}" ${GO_BUILDMODE} "github.com/docker/cli/${p}")
|
(set -x ; GO111MODULE=auto go build -o "${TARGET_PLUGIN}" -tags "${GO_BUILDTAGS}" -ldflags "${GO_LDFLAGS}" "github.com/docker/cli/${p}")
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue