Commit graph

509 commits

Author SHA1 Message Date
dependabot[bot]
7ee842c66b
Bump golang.org/x/net from 0.40.0 to 0.46.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.40.0 to 0.46.0.
- [Commits](https://github.com/golang/net/compare/v0.40.0...v0.46.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 17:01:37 +00:00
dependabot[bot]
d6c691947f
Bump go.uber.org/atomic from 1.9.0 to 1.11.0 (#597)
Bumps [go.uber.org/atomic](https://github.com/uber-go/atomic) from 1.9.0 to 1.11.0.
- [Release notes](https://github.com/uber-go/atomic/releases)
- [Changelog](https://github.com/uber-go/atomic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/atomic/compare/v1.9.0...v1.11.0)

---
updated-dependencies:
- dependency-name: go.uber.org/atomic
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 19:17:26 +00:00
dependabot[bot]
86f7c1506b
Bump github.com/docker/cli (#600)
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 28.0.4+incompatible to 28.1.1+incompatible.
- [Commits](https://github.com/docker/cli/compare/v28.0.4...v28.1.1)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-version: 28.1.1+incompatible
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 15:12:09 -04:00
dependabot[bot]
f8a239da62
Bump golang.org/x/net from 0.39.0 to 0.40.0 (#603)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/net/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 15:12:02 -04:00
dependabot[bot]
c22c76f997
Bump golang.org/x/net from 0.38.0 to 0.39.0 (#598)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/net/compare/v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-23 21:35:21 -04:00
dependabot[bot]
3d070dfef1
Bump github.com/docker/docker (#601)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 28.0.4+incompatible to 28.1.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v28.0.4...v28.1.1)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-version: 28.1.1+incompatible
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-23 21:35:09 -04:00
Alex Goodman
788fcd3834
chore: refactor command structure (#587)
* refactor cli harness

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* use single configuration for ui

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* remove remaining viper rules

* add basic CLI tests

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* separate cmd and api concerns for keybindings

* plumb through context for future logging

* port to using internal logger

* internalize non-analysis path

* encapsulate ui with clio

* merge runtime into cmd + add adapter package

* support legacy config shapes

* improve testing around formatting

* fix log-ui interactions

* fix linting and update test snapshots

* fix initialization of tree viewmodel

* indent files in report

* fix build

* setup qemu and buildx in release workflow

* show formatted output in CI

* add cli tests for source flag

* add default ci config cli test

---------

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
2025-04-08 12:19:18 -04:00
Oleksandr Redko
bec7cb9625
Fix error message returned from getFileList (#593) 2025-04-03 12:19:41 +00:00
Henry Richter
130f1bb9e7
Simplify dive installation via homebrew core (#594) 2025-04-03 12:18:53 +00:00
Artem Burashnikov
5fc8c99e29
Add Containerfile support for dive build command (#536) (#588)
* Add Containerfile support for dive build command

This commit adds Containerfile discovery for `dive build` command for docker engine.
By default, docker uses `Dockerfile` and will fail if the build context contains `Containerfile` instead.
This commit fixes it.

* Add lowercase logic to Containerfile and Dockerfile discovery function

This commit adds:
* Lowercase test for Containerfile discovery function.
  It is now possible to specify `containerfile` or `dockerfile` path
  or discover them in a build context.
* Build arguments `--file` flag test.

* add tests

---------

Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
2025-04-01 01:41:00 +00:00
dependabot[bot]
77e136d1ec
Bump golang.org/x/net from 0.37.0 to 0.38.0 (#591)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 21:35:28 -04:00
dependabot[bot]
0dcb2fc776
Bump github.com/docker/cli (#589)
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 28.0.2+incompatible to 28.0.4+incompatible.
- [Commits](https://github.com/docker/cli/compare/v28.0.2...v28.0.4)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 21:31:02 -04:00
dependabot[bot]
03485ebd10
Bump github.com/spf13/viper from 1.20.0 to 1.20.1 (#590)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.20.0...v1.20.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 21:30:37 -04:00
Alex Goodman
b6b3668b06 fix registry auth 2025-03-29 10:55:09 -04:00
Alex Goodman
fe98c8a2eb
use non-scratch docker image (#586) v0.13.1 2025-03-29 10:39:11 -04:00
Alex Goodman
8483e30080
fix overselection of layers (#585) 2025-03-29 10:28:51 -04:00
Alex Goodman
dd450a7474
port makefile to taskfile (#584) 2025-03-28 15:16:13 -04:00
dependabot[bot]
2342d85e26
Bump github.com/docker/docker (#579)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 28.0.1+incompatible to 28.0.2+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v28.0.1...v28.0.2)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-28 14:46:26 -04:00
dependabot[bot]
cc7c01e918
Bump github.com/docker/cli (#578)
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 28.0.1+incompatible to 28.0.2+incompatible.
- [Commits](https://github.com/docker/cli/compare/v28.0.1...v28.0.2)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-28 13:44:14 -04:00
lunrenyi
efc51d4ed1
Add x-cmd method to install dive (#550)
- Hi, we have implemented a lightweight [package manager using shell and awk](https://www.x-cmd.com/pkg/).
It helps you download dive release packages from the internet and extract them into a unified directory for management, without requiring root permissions.

- **I mean, can the installation method provided by x-cmd be added to the dive README?**[The installation method for the x command](https://www.x-cmd.com/start/)
  ```sh
  x env use dive
  ```
2025-03-28 13:43:53 -04:00
Alex Goodman
55713768e8
Update docker image release definitions (#577)
* update docker images

* preserve v in docker image tag references
2025-03-24 09:02:24 -04:00
Alex Goodman
90317a6c66 fix registry image references v0.13.0 2025-03-21 14:16:17 -04:00
Brennan Kinney
23b78297ed
fix: Login to GHCR as owner not actor (#574) 2025-03-21 17:42:01 +00:00
Ben Brady
ee49a5174c
Update README.md with DOCKER_HOST env var instructions (#565)
I had an error pulling local images. Setting the DOCKER_HOST env var fixed this problem for me. This has has been mentioned in issues such as https://github.com/wagoodman/dive/issues/542#issuecomment-2267720375
2025-03-21 13:40:15 -04:00
Rene Leonhardt
270f321d23
chore(deps): Update dependencies (#535)
Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
2025-03-18 04:28:23 +00:00
Jochen Schalanda
e65b32c4d7
Reintegrate fork joschi/dive (#570)
* chore: configure Renovate (#1)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update github artifact actions to v4 (#20)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update docker/login-action action to v3 (#19)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-go action to v5 (#18)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/checkout action to v4 (#17)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/cache action to v4 (#16)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* build: use Go 1.23.x to build project

* chore(deps): update build tools

- golangci-lint v1.16.0: https://github.com/golangci/golangci-lint/releases/tag/v1.61.0
- GoReleaser v1.61.0: https://github.com/goreleaser/goreleaser/releases/tag/v1.26.2
- Chronicle v0.8.0: https://github.com/anchore/chronicle/releases/tag/v0.8.0
- Glow v1.5.1: https://github.com/charmbracelet/glow/releases/tag/v1.5.1

* chore: temporarily lower coverage threshold to 30%

Old coverage:
```
go test -race -coverprofile ./.tmp/unit-coverage-details.txt ./...
?   	github.com/wagoodman/dive	[no test files]
?   	github.com/wagoodman/dive/cmd	[no test files]
?   	github.com/wagoodman/dive/dive	[no test files]
?   	github.com/wagoodman/dive/dive/image	[no test files]
ok  	github.com/wagoodman/dive/dive/filetree	0.032s	coverage: 58.0% of statements
?   	github.com/wagoodman/dive/dive/image/podman	[no test files]
ok  	github.com/wagoodman/dive/dive/image/docker	0.076s	coverage: 43.6% of statements
?   	github.com/wagoodman/dive/runtime/ui	[no test files]
?   	github.com/wagoodman/dive/runtime/ui/format	[no test files]
?   	github.com/wagoodman/dive/runtime/ui/key	[no test files]
ok  	github.com/wagoodman/dive/runtime	0.531s	coverage: 53.3% of statements
ok  	github.com/wagoodman/dive/runtime/ci	0.087s	coverage: 62.1% of statements
ok  	github.com/wagoodman/dive/runtime/export	0.096s	coverage: 100.0% of statements
?   	github.com/wagoodman/dive/runtime/ui/layout/compound	[no test files]
?   	github.com/wagoodman/dive/runtime/ui/view	[no test files]
ok  	github.com/wagoodman/dive/runtime/ui/layout	0.021s	coverage: 82.6% of statements
?   	github.com/wagoodman/dive/utils	[no test files]
ok  	github.com/wagoodman/dive/runtime/ui/viewmodel	1.202s	coverage: 55.3% of statements
Coverage: 57.5%
```

New coverage:
```
go test -race -coverprofile ./.tmp/unit-coverage-details.txt ./...
	github.com/wagoodman/dive/dive		coverage: 0.0% of statements
	github.com/wagoodman/dive/cmd		coverage: 0.0% of statements
	github.com/wagoodman/dive		coverage: 0.0% of statements
	github.com/wagoodman/dive/dive/image		coverage: 0.0% of statements
	github.com/wagoodman/dive/dive/image/podman		coverage: 0.0% of statements
ok  	github.com/wagoodman/dive/dive/filetree	1.027s	coverage: 58.0% of statements
ok  	github.com/wagoodman/dive/dive/image/docker	1.064s	coverage: 43.6% of statements
	github.com/wagoodman/dive/runtime/ui		coverage: 0.0% of statements
	github.com/wagoodman/dive/runtime/ui/format		coverage: 0.0% of statements
	github.com/wagoodman/dive/runtime/ui/key		coverage: 0.0% of statements
	github.com/wagoodman/dive/runtime/ui/layout/compound		coverage: 0.0% of statements
	github.com/wagoodman/dive/runtime/ui/view		coverage: 0.0% of statements
ok  	github.com/wagoodman/dive/runtime	1.382s	coverage: 53.3% of statements
ok  	github.com/wagoodman/dive/runtime/ci	1.055s	coverage: 62.1% of statements
	github.com/wagoodman/dive/utils		coverage: 0.0% of statements
ok  	github.com/wagoodman/dive/runtime/export	1.048s	coverage: 100.0% of statements
ok  	github.com/wagoodman/dive/runtime/ui/layout	1.012s	coverage: 82.6% of statements
ok  	github.com/wagoodman/dive/runtime/ui/viewmodel	2.202s	coverage: 55.3% of statements
Coverage: 31.8%
Coverage below threshold of 55.0%
```

* chore(deps): update fountainhead/action-wait-for-check action to v1.2.0 (#25)

https://github.com/fountainhead/action-wait-for-check/releases/tag/v1.2.0

* ci: validate Renovate configuration file on build

* ci: add gomodTidy and gomodUpdateImportPaths post update options to Renovate

* fix(deps): update module github.com/dustin/go-humanize to v1.0.1 (#5)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update alpine docker tag to v3.20 (#7)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update github.com/awesome-gocui/keybinding digest to 8602903 (#2)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/spf13/cobra to v0.0.7 (#6)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/fatih/color to v1.18.0 (#9)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/google/uuid to v1.6.0 (#10)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/sergi/go-diff to v1.3.1 (#11)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/cespare/xxhash to v2 (#21)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/docker to v24.0.9+incompatible (#3)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/spf13/viper to v1.19.0 (#14)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/sirupsen/logrus to v1.9.3 (#12)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.30.0 (#15)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/spf13/cobra to v1 (#23)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/docker to v27 (#22)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/cli to v27.3.1+incompatible (#27)

* ci: run Linux acceptance tests in parallel (#28)

* chore(deps): update module logrusorgru/aurora to v4 (major) (#29)

github.com/logrusorgru/aurora changed the license from the WTFPL to the Unlicense due to pkg.go.dev restrictions.

Refs 304bc2c7ed

* build: squash Docker image layers (#30)

Refs wagoodman/dive#535

* chore(deps): update Docker CLI version to 27.3.1 (#31)

* ci: update GoReleaser configuration (#33)

* chore(deps): update GoReleaser to v2.4.4 (major) (#32)

* revert: run Linux acceptance tests in parallel

This reverts commit 19714728c9.

* ci: fix image name, actions/checkout@v4, docker/login-action name

* fix: create `~/.docker` directory in Docker images (#34)

Error:
```
❯ docker run -ti --rm  -v /var/run/docker.sock:/var/run/docker.sock joschi/dive:0.13.0-alpha.1 busybox:latest
Image Source: docker://busybox:latest
Extracting image from docker-engine... (this can take a while for large images)
> could not determine docker host: stat /root/.docker: no such file or directory
cannot fetch image
unable to parse docker host ``
```

* build: added ppc64le support (wagoodman/dive#551)

Co-authored-by: Pooja Shah <53046887+pooja0805@users.noreply.github.com>

* fix: fix OCI format, GZIP file can be <1024 bytes (wagoodman/dive#511)

Fixes wagoodman/dive#507
Fixes wagoodman/dive#510
Fixes wagoodman/dive#526
Fixes wagoodman/dive#534

Co-authored-by: Maddog2050 <17902029+Maddog2050@users.noreply.github.com>

* docs: fix typos (wagoodman/dive#531)

Found via `codespell -L ot,te` and `typos --hidden --format brief`

Closes wagoodman/dive#464

Co-authored-by: Kian-Meng Ang <kianmeng@cpan.org>

* docs: add more Windows installation options to the README (wagoodman/dive#470)

Fixes wagoodman/dive#346

Co-authored-by: Nikolas Grottendieck <git@nikolasgrottendieck.com>

* docs: Update README.md (wagoodman/dive#506)

Made copy and paste easy for zsh users
- auto escape character issue

Co-authored-by: YóUnǎi <c0d3r.nodiru.gaji@gmail.com>

* docs: update the install command to the latest Go version (wagoodman/dive#509)

`go get` no longer works with recent versions of `go`.

Co-authored-by: Trevor Gross <tmgross@umich.edu>

* chore: remove repetitive words (wagoodman/dive#515)

Co-authored-by: thirdkeyword <fliterdashen@gmail.com>
Signed-off-by: thirdkeyword <fliterdashen@gmail.com>

* fix: close tmp files (wagoodman/dive#517)

Co-authored-by: guoguangwu <guoguangwug@gmail.com>
Signed-off-by: guoguangwu <guoguangwug@gmail.com>

* chore: fix phony ci-release target (wagoodman/dive#530)

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>

* docs: warning message for Snap approach on Ubuntu/Debian (wagoodman/dive#552)

https://github.com/wagoodman/dive/issues/546 demonstrates the trouble it may cause.

Co-authored-by: Zhang Yuanfeng <71358306+YuanfengZhang@users.noreply.github.com>

* docs: update curl commands in README (wagoodman/dive#533)

Co-authored-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>

* feat: improve "Fetching" message (wagoodman/dive#482)

The Fetching... message was confusing.

This replaces it with a clearer messages to avoid confusion.

Additional fix: show original error unless image is not found

Only try doing a pull if the image isn't found. Everything else should
just generate the error so the user can fix it.

Fixes wagoodman/dive#360

Co-authored-by: Christian Höltje <docwhat@gerf.org>

* fix: line wrap toggle now updates status bar indicator (wagoodman/dive#497)

Fixes wagoodman/dive#496

Co-authored-by: Scott Moore <scott.moore@viavisolutions.com>

* feat: show setuid, setgid and sticky attributes (wagoodman/dive#524)

See https://en.wikipedia.org/wiki/File-system_permissions#Notation_of_traditional_Unix_permissions

Co-authored-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>

* feat(docker): Honor the host specified in current docker context (wagoodman/dive#490)

This patch adds support for detecting the "docker host" to connect to which is set in the current docker context.
One can have multiple such contexts and one of them can be activated via `docker context use <context-name>`.

Fixes wagoodman/dive#397
Fixes wagoodman/dive#408
Fixes wagoodman/dive#412
Fixes wagoodman/dive#463
Fixes wagoodman/dive#495

Co-authored-by: Rajiv Kushwaha <raj25by10@gmail.com>

* fix: can't inspect ubuntu:24.04 with Podman (wagoodman/dive#476)

The problem was caused by `net/url.Parse()`:
```
panic: parse "podman://ubuntu:24.04": invalid port ":24.04" after host
```

Failure:
```
$ ./dive podman://ubuntu:24.04
Image Source: docker://podman://ubuntu:24.04
Fetching image... (this can take a while for large images)
Handler not available locally. Trying to pull 'podman://ubuntu:24.04'...
cannot fetch image
cannot find docker client executable
```

Success:
```
$ ./dive podman://ubuntu:24.04
Image Source: podman://ubuntu:24.04
...

$ ./dive ubuntu:24.04 --source podman
Image Source: podman://ubuntu:24.04
...

$ ./dive podman://ubuntu:24.04 --source docker
Image Source: podman://ubuntu:24.04
...
```

Fixes wagoodman/dive#475

Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>

* fix: enable layer scrolling (wagoodman/dive#521)

Fixes wagoodman/dive#469
Fixes wagoodman/dive#494
Fixes wagoodman/dive#540
Refs wagoodman/dive#473
Refs wagoodman/dive#478
Refs wagoodman/dive#520

Co-authored-by: st-gr <38470677+st-gr@users.noreply.github.com>

* feat: add layer-wise filesystem information to the analysis json file (wagoodman/dive#458)

Add layer-wise filesystem information to the analysis which is written to a JSON file
when running dive with `-j` or `--json` flag.

Co-authored-by: Akash Nayak <akash19nayak@gmail.com>

* feat: add size to Layer Details view (wagoodman/dive#522)

Refs https://github.com/wagoodman/dive/issues/469#issuecomment-1685322270

Co-authored-by: st-gr <38470677+st-gr@users.noreply.github.com>

* feat: add CTRL+e for extracting current focused file

Refs wagoodman/dive#224

Co-authored-by: kaedwen <kaedwen@heinrich.blue>

* feat: vim-like arrow, scroll, and close filtering motions (wagoodman/dive#501)

* Adding configurable keybindings for up/down arrows (`k` and `j` vim motions can be used as alternative to up/down arrows).
Thanks to @gwendolyngoetz for implementing this feature [Adding configurable keybindings for up/down arrows #499](https://github.com/wagoodman/dive/pull/499)
* Add configurable keybindings for left/right arrows (`h` and `l` vim motions can be used as alternative to left/right arrows)
* Add `u` and `d` keys for page up/down alternatives (I didn't want to replace default `ctrl+u` toggle-unmodified-files keybinding so I used`u` and `d` like `Vimium` extension )
* Add `esc` key to close filtering (Implemented a new method by utilizing the existing toggle filter method, without touching its current behavior)

Refs wagoodman/dive#129
Refs wagoodman/dive#415
Refs wagoodman/dive#499

Co-authored-by: Gwendolyn Goetz <gwendolyngoetz@users.noreply.github.com>
Co-authored-by: Mehmet Ümit Özden <ozdenmehmetumit@gmail.com>

* fix: gracefully check for Docker configuration (#37)

Refs https://github.com/jesseduffield/lazydocker/pull/489

* refactor!: migrate Go module from wagoodman/dive to joschi/dive (#36)

* refactor!: migrate Go module from wagoodman/dive to joschi/dive
* fix: bring back :latest Docker image

* feat: create multi-arch container images with AMD64 and ARM64 (#38)

* feat: create multi-arch container images with AMD64 and ARM64
* fix: use joschi/dive:latest-amd64 in CI

* ci: use correct container registry in `ci-test-docker-image` (#39)

* docs: fix Homebrew instructions in README

* fix(deps): update module golang.org/x/net to v0.31.0 (#40)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update suzuki-shunsuke/github-action-renovate-config-validator action to v1.1.1 (#43)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.32.0 (#44)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update alpine docker tag to v3.21 (#45)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/cli to v27.4.1+incompatible (#46)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.33.0 (#48)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/docker to v27.4.1+incompatible (#47)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.34.0 (#49)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/spf13/afero to v1.12.0 (#50)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/cli to v27.5.0+incompatible (#51)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/docker to v27.5.0+incompatible (#52)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/cli to v27.5.1+incompatible (#54)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/docker to v27.5.1+incompatible (#55)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: support oci zstd compression (#53)

Co-authored-by: Jochen Schalanda <jochen@schalanda.name>

* fix(deps): update module github.com/klauspost/compress to v1.17.11 (#57)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.35.0 (#59)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/spf13/cobra to v1.9.0 (#60)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/spf13/cobra to v1.9.1 (#62)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/klauspost/compress to v1.18.0 (#63)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/cli to v28 (#64)

* fix(deps): update module github.com/docker/cli to v28

* Replace deprecated function in engineResolver.fetchArchive()

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jochen Schalanda <jochen@schalanda.name>

* build: bump Go toolchain from 1.23.x to 1.24.x (#61)

* build: bump Go toolchain from 1.23.x to 1.24.x

* chore(deps): bump golangci-lint from v1.61.0 to v1.64.5

* fix: non-constant format string in call to (*testing.common).Errorf

* test: add layer_set_state_test

* fix(deps): update module github.com/docker/cli to v28.0.1+incompatible (#66)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/docker/docker to v28.0.1+incompatible (#65)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.36.0 (#73)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.37.0 (#74)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/spf13/viper to v1.20.0 (#76)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/spf13/afero to v1.14.0 (#75)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor!: revert module name back to github.com/wagoodman/dive

Partially reverts e46f931a8a

* chore: remove Renovate configuration

Reverts aa75fbf36f

* Revert "ci: validate Renovate configuration file on build"

This reverts commit 8d938774e2.

---------

Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooja Shah <53046887+pooja0805@users.noreply.github.com>
Co-authored-by: Maddog2050 <17902029+Maddog2050@users.noreply.github.com>
Co-authored-by: Kian-Meng Ang <kianmeng@cpan.org>
Co-authored-by: Nikolas Grottendieck <git@nikolasgrottendieck.com>
Co-authored-by: YóUnǎi <c0d3r.nodiru.gaji@gmail.com>
Co-authored-by: Trevor Gross <tmgross@umich.edu>
Co-authored-by: thirdkeyword <fliterdashen@gmail.com>
Co-authored-by: guoguangwu <guoguangwug@gmail.com>
Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Co-authored-by: Zhang Yuanfeng <71358306+YuanfengZhang@users.noreply.github.com>
Co-authored-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
Co-authored-by: Christian Höltje <docwhat@gerf.org>
Co-authored-by: Scott Moore <scott.moore@viavisolutions.com>
Co-authored-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
Co-authored-by: Rajiv Kushwaha <raj25by10@gmail.com>
Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>
Co-authored-by: st-gr <38470677+st-gr@users.noreply.github.com>
Co-authored-by: Akash Nayak <akash19nayak@gmail.com>
Co-authored-by: kaedwen <kaedwen@heinrich.blue>
Co-authored-by: Gwendolyn Goetz <gwendolyngoetz@users.noreply.github.com>
Co-authored-by: Mehmet Ümit Özden <ozdenmehmetumit@gmail.com>
Co-authored-by: steven-halaka <steven.halaka@twosixtech.com>
2025-03-18 00:15:09 -04:00
Nathan-Moignard
925cdd8648
Update Dockerfile Alpine Image from alpine:3.12 => alpine:3.18 (#481) v0.12.0
Trivy Report showing vunlarability:

WARN	This OS version is no longer supported by the distribution: alpine 3.12.12

│ zlib    │ CVE-2022-37434 │ CRITICAL │ fixed  │ 1.2.12-r0         │ 1.2.12-r2     |
2024-02-02 15:27:41 +00:00
suguds
fd526464b2
update golang.org/x/net v0.11.0 to 0.17.0 (#503) 2024-02-02 10:21:42 -05:00
dependabot[bot]
9f08f7e6cc
Bump github.com/docker/docker (#483)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.2+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.2...v24.0.7)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 09:29:04 -05:00
Rene Nyffenegger
7556be352a
DIVE_VERSION does not need to be exported (#492)
The value of the variable DIVE_VERSION is not needed in a
spawned subprocess. Thus, the variable does not necessarily
need to be exported. Arguably, the environment is less
polluted if it is not exported.
2024-02-02 14:26:54 +00:00
Guillaume Belanger
2d86aa7b4c
chore: Adds instructions for snap installation (#484) 2024-02-02 09:26:06 -05:00
Thomas Broyer
5d6a406df1
Fix compatibility with Docker 25+ (#500)
Add support for OCI-compatible Docker images.

Fixes #498
2024-02-02 09:21:05 -05:00
Sandro
3ef1dd2c74
Bump to more recent go version, remove no longer required overrides (#461) 2023-07-10 20:44:51 +00:00
Alex Goodman
559e5e2dbe add release process 2023-07-07 11:54:08 -04:00
Alex Goodman
8003980604 enable release pipeline v0.11.0 2023-07-07 11:42:48 -04:00
Ian Ray
6f20438ae4
feat: add support for alternative ordering strategies (#424) 2023-07-07 10:01:53 -04:00
Alex Goodman
d5e8a92968
Rework CI validation workflow and makefile (#460)
* rework CI validation workflow and makefile

* enable push

* fix job names

* fix license check

* fix snapshot builds

* fix acceptance tests

* fix linting

* disable pull request event

* rework windows runner caching

* disable release pipeline and add issue templates
2023-07-06 22:01:46 -04:00
Alex Goodman
42925c1b05
Merge pull request #459 from orhun/docs/update_arch_linux_link
Update the link for the Arch Linux package
2023-07-06 20:16:58 -04:00
Orhun Parmaksız
ec5528bce5
update the link for the Arch Linux package 2023-07-06 19:10:44 +03:00
Alex Goodman
8a10c0d46b
Merge pull request #403 from orihomie/patch-1
ubuntu install latest version script
2023-07-06 11:16:52 -04:00
Alex Goodman
6ba95122a5 orient all install refs around the latest version 2023-07-06 11:15:49 -04:00
Orkhan
69e6ba9993 ubuntu install latest version script 2023-07-06 11:15:06 -04:00
Alex Goodman
a70b7acffc
Merge pull request #447 from yurenchen000/feat-ctrl-z
Feat: add ctrl-z support
2023-07-06 11:04:51 -04:00
Alex Goodman
e9169b9ccd check error of kill and return calls 2023-07-06 11:03:30 -04:00
chen
77c11047cf feat: add ctrl+z support 2023-07-06 11:01:00 -04:00
chen
a7dfbb7927 fix layer view curosr pgup/pgdn 2023-07-06 11:01:00 -04:00
chen
c4b2723d97 fix layer view curosr up/down 2023-07-06 11:01:00 -04:00
chen
255e3c2ff7 update lib gocui to v1.1.0 2023-07-06 11:00:59 -04:00
Alex Goodman
32c1c1b7bf
Merge pull request #443 from lutzky/master
Fix rendering for multi-line commands
2023-07-06 10:49:15 -04:00
Alex Goodman
99124abb7a
Merge pull request #429 from zachary-walters/update-deprecated-dependency-ioutil
Updated the deprecated ioutil dependency
2023-07-06 10:49:03 -04:00