wagoodman/dive

Generic build instructions

origintopleft opened this issue · 2 comments

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.

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.

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.