Skip to content

dive

Tool for exploring each layer in a docker image

Dive is a tool used for exploring a docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image. It shows Docker image contents broken down by layer, indicates what's changed in each layer, estimates "image efficiency", quick build/analysis cycles ans is ready to use with CI integration.

secops

https://github.com/wagoodman/dive

amd64 arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install dive

sudo apt install dive

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    dive=0.12.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      dive=0.12.0*

Download URLs

Version SHA256 Size (KB)
0.12.0 caa5bb158546c25745ab247478f6b92bb808e48782180a426d8551e66dc634b0 3034
0.11.0 8ee3c0e66cb02aa571046ec153144586b0d90ecf88d793a15da5dedb92cfdaf5 3030
Version SHA256 Size (KB)
0.12.0 9ddc3227b28564df90f2d6bf56afc331b1e3b060623e82875d37fa692f5e7338 2584
0.11.0 cf15cf2023e22688519fcb26a99d2c05029ff406586c867719d49968bdcf18e4 2579

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for dive are versioned here.

Click here to see dive ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/secops/dive/ops2deb.yml
name: dive
matrix:
  architectures:
    - amd64
    - arm64
  versions:
    - 0.11.0
    - 0.12.0
homepage: https://github.com/wagoodman/dive
summary: tool for exploring each layer in a docker image
description: |-
  Dive is a tool used for exploring a docker image, layer contents, and
  discovering ways to shrink the size of your Docker/OCI image. It shows Docker
  image contents broken down by layer, indicates what's changed in each layer,
  estimates "image efficiency", quick build/analysis cycles ans is ready to use
  with CI integration.
fetch: https://github.com/wagoodman/dive/releases/download/v{{version}}/dive_{{version}}_linux_{{arch}}.tar.gz
install:
  - dive:/usr/bin/dive

The blueprint fetch keyword contains a URL template pointing to dive releases. Downloaded files are locked in a lockfile versioned here.

Click here to see dive release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/secops/dive/ops2deb.lock.yml
- url: https://github.com/wagoodman/dive/releases/download/v0.10.0/dive_0.10.0_linux_amd64.tar.gz
  sha256: 9541997876d4985de66d0fa5924dac72258a3094ef7d3f6ef5fa5dcf6f6a47ad
  timestamp: 2024-07-04 17:39:42+00:00
- url: https://github.com/wagoodman/dive/releases/download/v0.11.0/dive_0.11.0_linux_amd64.tar.gz
  sha256: 80835d3320292c4ab761d03c1fd33745ddb9b6064c035b65f77825f18f407d28
  timestamp: 2024-07-04 17:39:42+00:00
- url: https://github.com/wagoodman/dive/releases/download/v0.11.0/dive_0.11.0_linux_arm64.tar.gz
  sha256: 656aa45f618c30f02a30fa256e429ba1afafd9e39e3757e52a30764494c71b7a
  timestamp: 2024-07-04 17:39:42+00:00
- url: https://github.com/wagoodman/dive/releases/download/v0.12.0/dive_0.12.0_linux_amd64.tar.gz
  sha256: 20a7966523a0905f950c4fbf26471734420d6788cfffcd4a8c4bc972fded3e96
  timestamp: 2024-07-04 17:39:42+00:00
- url: https://github.com/wagoodman/dive/releases/download/v0.12.0/dive_0.12.0_linux_arm64.tar.gz
  sha256: a2a1470302cdfa367a48f80b67bbf11c0cd8039af9211e39515bd2bbbda58fea
  timestamp: 2024-07-04 17:39:42+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/dive.svg)](https://docs.wakemeops.com/packages/dive)
<a href="https://docs.wakemeops.com/packages/dive">
  <img src="https://docs.wakemeops.com/badges/dive.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/dive.svg
:target: https://docs.wakemeops.com/packages/dive