wagoodman / dive

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

Correct installation instruction for Ubuntu/Debian #400

Closed iwataka closed 1 year ago

iwataka commented 2 years ago

The below command is written in README as an installation instruction for Ubuntu/Debian.

wget https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb

This command creates a file whose name is not dive_0.9.2_linux_amd64.deb but 5db79280-4b50-11ea-8123-47efdc093285?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220509%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220509T123525Z&X-Amz-Expires=300&X-Amz-Signature=4d880f8e576fcbd2da97348.

It is because https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb redirects to the other URL (see the below image for more details).

dive_http_result

So we should use wget -O or curl -OL command instead of just wget.