[master] static-linux: verify that binaries are static#430
[master] static-linux: verify that binaries are static#430thaJeztah wants to merge 1 commit intodocker:masterfrom
Conversation
f27573c to
a4c2ca2
Compare
|
Wondering if this is expected; |
|
@djs55 checked this, and it looks indeed that vpnkit is not fully statically linked; |
|
opened moby/vpnkit#499 /cc @AkihiroSuda @tiborvass FYI |
$ docker create --name foo djs55/vpnkit@sha256:e508a17cfacc8fd39261d5b4e397df2b953690da577e2c987a47630cd0c42f8e dummy
0c8bc7c8ded069648f49584cac731dad764ba6e6bb7f2567d64b592e1e94e27e
$ docker cp foo:/vpnkit .
$ sha256sum vpnkit
7c4c49f22231bb156ed5b22f3dafa78e5857e2d7181d1ef2229fe704ec4f3266 vpnkit
$ ldd vpnkit
statically linked |
|
That's weird; how can @djs55 get a different result than you? 🤔 |
|
So, alpine ldd says it is dynamic, ubuntu ldd says static 🤷♂ |
|
I'm not familiar with ELF stuff, but |
|
Right, so looks like it's not an actual problem (for reference; I was backporting some checks that I found in our private packaging repositories) But I'm curious now! LOL |
a4c2ca2 to
f2d1bcd
Compare
f2d1bcd to
fa04674
Compare
|
For a minute I thought this was fixed, but looks like because we may need #510 so that failures actually make the build fail - currently the failure is unhandled; |
|
Seeing some discussion about this in https://gitlab.alpinelinux.org/alpine/aports/-/issues/10030, which may give some pointers on how to check |
fa04674 to
fabeee9
Compare
fabeee9 to
76f5845
Compare
76f5845 to
ac4613a
Compare
ac4613a to
2631797
Compare
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2631797 to
9a11954
Compare
No description provided.