Skip to content

Commit

Permalink
Merge pull request #4184 from dims/cri-plugin-needs-selinux-tag
Browse files Browse the repository at this point in the history
CRI plugin needs selinux tag as well
  • Loading branch information
crosbymichael committed Apr 13, 2020
2 parents 3282a1c + 49200a1 commit 842b1e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ MANPAGES=ctr.8 containerd.8 containerd-config.8 containerd-config.toml.5
ifdef BUILDTAGS
GO_BUILDTAGS = ${BUILDTAGS}
endif
# Build tags seccomp and apparmor are needed by CRI plugin.
GO_BUILDTAGS ?= seccomp apparmor
# Build tags seccomp, apparmor and selinux are needed by CRI plugin.
GO_BUILDTAGS ?= seccomp apparmor selinux
GO_BUILDTAGS += ${DEBUG_TAGS}
GO_TAGS=$(if $(GO_BUILDTAGS),-tags "$(GO_BUILDTAGS)",)
GO_LDFLAGS=-ldflags '-X $(PKG)/version.Version=$(VERSION) -X $(PKG)/version.Revision=$(REVISION) -X $(PKG)/version.Package=$(PACKAGE) $(EXTRA_LDFLAGS)'
Expand Down

0 comments on commit 842b1e3

Please sign in to comment.