mirror of
https://github.com/containers/podman.git
synced 2025-07-03 09:17:15 +08:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user