wagoodman / dive

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

install dive in alpine container #312

Closed mlarcher closed 4 years ago

mlarcher commented 4 years ago

Is there any way to have dive run in an Alpine container ? It is not listed as installable through apk, and I can't get the go version to work (/bin/sh: dive: not found after installing through go get). Sorry to be asking a support question in here, I just find it odd that a tool focusing on image performance would not work in a performant image

wagoodman commented 4 years ago

All good!

Dive is already distributed in an alpine image on [dockerhub] (https://registry.hub.docker.com/r/wagoodman/dive) : docker pull wagoodman/dive

If you're looking to package it yourself then checkout the Dockerfile in the root of the repo as a starting point --for the copy command you can download the pre-built asset.

mlarcher commented 4 years ago

Thank you @wagoodman , the pre-built assets were what I needed :+1: