google / bloaty

Bloaty: a size profiler for binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies not stated

positron96 opened this issue · comments

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

  • build-essential (obvious)
  • cmake (obvious from README)
  • jinja-build (not obvious, had to google)
  • libz1g-dev

Might be good to state it somewhere in README.

commented

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

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