Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable fully static binaries of unbound and drill #199

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

klutchell
Copy link
Owner

Resolves: #198
See: NLnetLabs/unbound#91

@klutchell klutchell marked this pull request as draft September 17, 2023 16:10
@klutchell
Copy link
Owner Author

klutchell commented Sep 17, 2023

This seems to increase the compressed image size from ~5MB to ~12MB so we should inspect the filesystem differences and consider if this is worthwhile.

These entries have been added to klutchell/unbound:main: None

These entries have been deleted from klutchell/unbound:main:
FILE                              SIZE
/lib                              5.2M
/lib/ld-musl-x86_64.so.1          602.6K
/lib/libcrypto.so.3               4.1M
/lib/libssl.so.3                  532.1K
/usr/lib                          864.6K
/usr/lib/libevent-2.1.so.7        294.3K
/usr/lib/libexpat.so.1            129.8K
/usr/lib/libgcc_s.so.1            117.8K
/usr/lib/libsodium.so.23          322.6K

These entries have been changed between klutchell/unbound:main and klutchell/unbound:build-kyle-fully-static:
FILE                               SIZE1          SIZE2
/usr/sbin/unbound                  1.2M           5.3M
/usr/sbin/unbound-anchor           1M             5.2M
/usr/sbin/unbound-host             1013.9K        5.1M
/usr/sbin/unbound-checkconf        941.4K         5M
/usr/bin/drill                     381.9K         3.7M
/usr/sbin/unbound-control          250.6K         4.3M

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build fully static
1 participant