GoogleContainerTools / GoogleContainerTools/container-structure-test
dynamic linkage checks
Open
enhancement
help wanted
- Dominant language
- Go
- Stars
- 2.5k
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
It would be great to be able to check linkage.
It's currently possible with `commandTests`, but only if `ldd` is present (often not the case for minimal images) and it requires matching the output, which can be tricky to actually implement.
Example:
```YAML
elfBinaryTests:
- name: "bash is dynamically linked"
path: "/bin/bash"
noMissingLibs: true
libraries:
- "linux-vdso.so.1"
- "libtinfo.so.6"
- "libdl.so.*"
- "libc.so.6"
- "ld-linux-*.so.*"
```
Contributor guide
Assessment
This issue has not been assessed yet.