mirror of
https://github.com/containers/skopeo.git
synced 2025-06-25 14:22:29 +00:00
Merge pull request #1091 from saschagrunert/osusergo
Use osusergo build tag for static build
This commit is contained in:
commit
4ad2c75b52
@ -44,7 +44,7 @@ let
|
|||||||
export CFLAGS='-static'
|
export CFLAGS='-static'
|
||||||
export LDFLAGS='-s -w -static-libgcc -static'
|
export LDFLAGS='-s -w -static-libgcc -static'
|
||||||
export EXTRA_LDFLAGS='-s -w -linkmode external -extldflags "-static -lm"'
|
export EXTRA_LDFLAGS='-s -w -linkmode external -extldflags "-static -lm"'
|
||||||
export BUILDTAGS='static netgo exclude_graphdriver_btrfs exclude_graphdriver_devicemapper'
|
export BUILDTAGS='static netgo osusergo exclude_graphdriver_btrfs exclude_graphdriver_devicemapper'
|
||||||
'';
|
'';
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
Loading…
Reference in New Issue
Block a user