summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-03 14:41:00 -0500
committerGitHub <noreply@github.com>2020-11-03 14:41:00 -0500
commit581508f3ec7f20fd407e8b307f9f099d9b63ee46 (patch)
treecef4b9f1a165d4b44f0e9c6c3bcb712f5b556803
parent5b17f58e7e8deb7a82e2b9e2e9929e1439f3f009 (diff)
parent5700b566664eaf04f82830ac1f71d4d8982a5b10 (diff)
downloadpodman-581508f3ec7f20fd407e8b307f9f099d9b63ee46.tar.gz
podman-581508f3ec7f20fd407e8b307f9f099d9b63ee46.tar.bz2
podman-581508f3ec7f20fd407e8b307f9f099d9b63ee46.zip
Merge pull request #8213 from saschagrunert/osusergo
Use osusergo build tag for static build
-rw-r--r--nix/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/default.nix b/nix/default.nix
index cc8786ce0..a1a8c5287 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -44,7 +44,7 @@ let
export CFLAGS='-static'
export LDFLAGS='-s -w -static-libgcc -static'
export EXTRA_LDFLAGS='-s -w -linkmode external -extldflags "-static -lm"'
- export BUILDTAGS='static netgo exclude_graphdriver_btrfs exclude_graphdriver_devicemapper seccomp apparmor selinux'
+ export BUILDTAGS='static netgo osusergo exclude_graphdriver_btrfs exclude_graphdriver_devicemapper seccomp apparmor selinux'
'';
buildPhase = ''
patchShebangs .