Skip to content

Commit

Permalink
fix: Increase min Docker API verison requirement to 1.25
Browse files Browse the repository at this point in the history
The slim build --dockerfile command uses the Docker Build API feature(s)
that become available only in versions >= 1.25.

Signed-off-by: Ivan Velichko <iximiuz@gmail.com>
  • Loading branch information
iximiuz committed Feb 6, 2024
1 parent af947f3 commit 4e72a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/master/command/cliflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func GlobalFlags() []cli.Flag {
},
&cli.StringFlag{
Name: FlagAPIVersion,
Value: "1.24", //Docker Engine v25.x depricates APIs below 1.24
Value: "1.25", // We need at least 1.25 for to support builds from Dockerfile.
Usage: FlagAPIVersionUsage,
EnvVars: []string{"DSLIM_CRT_API_VER"},
},
Expand Down

0 comments on commit 4e72a1e

Please sign in to comment.