google / bloaty

Bloaty: a size profiler for binaries
Apache License 2.0
4.71k stars 340 forks source link

Dependencies not stated #285

Open positron96 opened 3 years ago

positron96 commented 3 years ago

I've tried to build bloaty on a clean docker run ubuntu installation. I had to install the following apt packages to build successfully:

Might be good to state it somewhere in README.

mc7h commented 2 years ago

I added my Dockerfile here: https://github.com/mc7h/bloaty-docker and pushed an linux/arm64/v8 image to dockerhub.

carlosperate commented 1 year ago

Just for general info, it looks like in Ubuntu 22.04 explicitly installing libz1g-dev or libz-dev is no longer neccessary. This Dockerfile builds fine at the time of writing: https://github.com/carlosperate/bloaty-action/blob/726a1a392140f8c37fe378b610e40e930c139684/docker-bloaty/Dockerfile#L11-L14