Merge pull request #6187 from openSUSE/netgo

Add netgo build tag to static binary
This commit is contained in:
OpenShift Merge Robot
2020-05-12 04:59:52 -07:00
committed by GitHub

View File

@ -43,7 +43,7 @@ let
]);
src = ./..;
EXTRA_LDFLAGS = ''-linkmode external -extldflags "-static -lm"'';
BUILDTAGS = ''static apparmor selinux seccomp systemd varlink containers_image_ostree_stub'';
BUILDTAGS = ''static netgo apparmor selinux seccomp systemd varlink containers_image_ostree_stub'';
})).override {
gpgme = (static pkgs.gpgme);
libseccomp = (static pkgs.libseccomp);