mirror of https://github.com/containers/podman.git
Add netgo build tag to static binary
This allows us to system independently resolve DNS requests in static Podman binaries. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
parent
7837bf3c07
commit
6a87e4b3a6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue