wagoodman / dive

A tool for exploring each layer in a docker image
MIT License
44.53k stars 1.69k forks source link

Generic build instructions #491

Open origintopleft opened 5 months ago

origintopleft commented 5 months ago

What would you like to be added: Generic "how to build" instructions that don't involve distro-specific tools such as apt or dnf, preferably in an INSTALL.md file in the root.

Why is this needed: I intend to maintain an ebuild for Gentoo in a personal overlay, but can't even figure out how to build manually. I am not coming from a Go background and don't know what the standard ./configure && make equivalent is. go build, as suggested by Golang docs, throws up because the dive directory already exists, and I'm unsure how to respond to this.

Additional context: Would also come in handy for users of other distros looking to package this program.

mark2185 commented 5 months ago

There is a Makefile but I'm not sure what target to invoke since the one run on CI doesn't seem to work locally.

Anyway, to answer this:

and I'm unsure how to respond to this

go build -o dive will create a dive binary in the ./dive/ folder.

ChaosEngine commented 3 months ago

ebuild has landed some time in bugs.gentoo.org: https://bugs.gentoo.org/828478 I merely updated app-containers/docker dependency there. There is an bgo-overlay containing it but it looks dead to me.