Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 3bf38b9

Browse files
authored
Merge pull request #266 from peter-evans/change-default-type
Change the default analysis type from apt to size
2 parents a900778 + 651642c commit 3bf38b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ container-diff analyze <img> --type=apt --type=node [Apt and Node]
5555
# --type=<analyzer1> --type=<analyzer2> --type=<analyzer3>,...
5656
```
5757

58-
By default, with no `--type` flag specified, container-diff will run Apt package analysis.
58+
By default, with no `--type` flag specified, container-diff will run image size analysis.
5959

6060
To use container-diff to perform a diff analysis on two images, you need two Docker images (in the form of an ID, tarball, or URL from a repo). Once you have those images, you can run any of the following differs:
6161
```shell

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func validateArgs(args []string, validatefxns ...validatefxn) error {
120120

121121
func checkIfValidAnalyzer(_ []string) error {
122122
if len(types) == 0 {
123-
types = []string{"apt"}
123+
types = []string{"size"}
124124
}
125125
for _, name := range types {
126126
if _, exists := differs.Analyzers[name]; !exists {

0 commit comments

Comments
 (0)