Skip to content

Commit 4e72a1e

Browse files
committed
fix: Increase min Docker API verison requirement to 1.25
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>
1 parent af947f3 commit 4e72a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/app/master/command/cliflags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ func GlobalFlags() []cli.Flag {
353353
},
354354
&cli.StringFlag{
355355
Name: FlagAPIVersion,
356-
Value: "1.24", //Docker Engine v25.x depricates APIs below 1.24
356+
Value: "1.25", // We need at least 1.25 for to support builds from Dockerfile.
357357
Usage: FlagAPIVersionUsage,
358358
EnvVars: []string{"DSLIM_CRT_API_VER"},
359359
},

0 commit comments

Comments
 (0)