Skip to content

Can't execute bombom in Docker #8

@maennchen

Description

@maennchen

stritzinger/ort#4

 $ docker buildx build -t ort:latest --target rebar3_sbom_build . --platform linux/arm64
...
$ docker run --entrypoint /bin/bash --platform linux/arm64 -ti ort:latest
ort@a78f7e12c57a:~$ ls -al /opt/bombom/bin/bombom
-rwxr-xr-x 1 ort ort 59193128 Jan 15 19:32 /opt/bombom/bin/bombom
ort@a78f7e12c57a:~$ /opt/bombom/bin/bombom
[piadina] ERROR: execv failed: Permission denied
ort@a78f7e12c57a:~$ exit
exit
$ docker run --entrypoint /bin/bash --platform linux/amd64 -ti ort:latest
...
$ docker run --entrypoint /bin/bash --platform linux/amd64 -ti ort:latest
ort@39c9f10e307d:~$ /opt/bombom/bin/bombom
/opt/bombom/bin/bombom: error while loading shared libraries: libcbor.so.0.10: cannot open shared object file: No such file or directory
ort@39c9f10e307d:~$ exit
exit

Using a bare ubuntu image:

$ docker run --platform linux/amd64 -ti ubuntu bash
...
root@7db7c9b30b34:/# apt update && apt install wget
...
root@7db7c9b30b34:/# wget https://github.com/erlef/bombom/releases/download/1.0.2/bombom-linux-amd64.bin
...
Saving to: 'bombom-linux-amd64.bin'

bombom-linux-amd64.bin                     100%[=======================================================================================>]  56.95M  50.2MB/s    in 1.1s    o

2026-01-15 19:40:31 (50.2 MB/s) - 'bombom-linux-amd64.bin' saved [59713256/59713256]

root@7db7c9b30b34:/# chmod +x bombom-linux-amd64.bin
root@7db7c9b30b34:/# ./bombom-linux-amd64.bin
./bombom-linux-amd64.bin: error while loading shared libraries: libcbor.so.0.10: cannot open shared object file: No such file or directory
root@7db7c9b30b34:/# exit
exit
$ docker run --platform linux/arm64 -ti ubuntu bash
...
root@094e6c9b53db:/# apt update && apt install wget
...
root@094e6c9b53db:/# wget https://github.com/erlef/bombom/releases/download/1.0.2/bombom-linux-arm64.bin
...
Saving to: 'bombom-linux-arm64.bin'

bombom-linux-arm64.bin                     100%[=======================================================================================>]  56.45M  42.8MB/s    in 1.3s

2026-01-15 19:41:23 (42.8 MB/s) - 'bombom-linux-arm64.bin' saved [59193128/59193128]

root@094e6c9b53db:/# chmod +x bombom-linux-arm64.bin
root@094e6c9b53db:/# ./bombom-linux-arm64.bin
./bombom-linux-arm64.bin: error while loading shared libraries: libcbor.so.0.8: cannot open shared object file: No such file or directory
root@094e6c9b53db:/# exit
exit

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions