package/docker-containerd: fix version output ldflags
Fix the ldflags specifying the version info for "version" command. Signed-off-by: Tian Yuanhao <tianyuanhao@aliyun.com> Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
1c1a629d81
commit
8107509a1d
@ -12,7 +12,7 @@ DOCKER_CONTAINERD_LICENSE_FILES = LICENSE
|
|||||||
DOCKER_CONTAINERD_GOMOD = github.com/containerd/containerd
|
DOCKER_CONTAINERD_GOMOD = github.com/containerd/containerd
|
||||||
|
|
||||||
DOCKER_CONTAINERD_LDFLAGS = \
|
DOCKER_CONTAINERD_LDFLAGS = \
|
||||||
-X github.com/docker/containerd.GitCommit=$(DOCKER_CONTAINERD_VERSION)
|
-X $(DOCKER_CONTAINERD_GOMOD)/version.Version=$(DOCKER_CONTAINERD_VERSION)
|
||||||
|
|
||||||
DOCKER_CONTAINERD_BUILD_TARGETS = cmd/ctr cmd/containerd cmd/containerd-shim
|
DOCKER_CONTAINERD_BUILD_TARGETS = cmd/ctr cmd/containerd cmd/containerd-shim
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user