Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Increase min Docker API verison requirement to 1.25 #641

Merged

Conversation

iximiuz
Copy link
Collaborator

@iximiuz iximiuz commented Feb 6, 2024

The slim build --dockerfile command uses the Docker Build API feature(s) that become available only in versions >= 1.25.

Bonus: Fix compilation errors in unit tests.

The slim build --dockerfile command uses the Docker Build API feature(s)
that become available only in versions >= 1.25.

Bonus: Fix compilation errors in unit tests.

Signed-off-by: Ivan Velichko <iximiuz@gmail.com>
@iximiuz iximiuz force-pushed the iximiuz/bump-up-min-docker-api-version branch from 4e72a1e to c7a737f Compare February 6, 2024 12:26
@kcq kcq merged commit a81311e into slimtoolkit:master Feb 6, 2024
8 of 20 checks passed
@@ -2122,7 +2122,7 @@ func jsonFromStream(source string, name string, reader io.Reader, data interface

sr := strings.NewReader(string(raw))
log.Tracef("dockerimage.LoadPackage.jsonFromStream: name='%s' data[%d]='%s' source='%s'",
name, raw, len(raw), source)
name, len(raw), string(raw), source)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@sammcj
Copy link

sammcj commented May 5, 2024

FYI - This seems to be causing issues - #646

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants