Skip to content

Bump imgutil to latest and docker from v27.5.1 to v28.3.0#2406

Merged
jjbustamante merged 3 commits intobuildpacks:mainfrom
jericop:update-docker
Jun 27, 2025
Merged

Bump imgutil to latest and docker from v27.5.1 to v28.3.0#2406
jjbustamante merged 3 commits intobuildpacks:mainfrom
jericop:update-docker

Conversation

@jericop
Copy link
Copy Markdown
Contributor

@jericop jericop commented Jun 24, 2025

Summary

This change updates docker library from v27.5.1 to v28.3.0 in order to match what is used in imgutil. This is necessary for any projects that use pack as a library, such as jam, because there are removed types and other changes which cause build and test errors unless everything is using the same version. It also removes DSA as a supported key type from sshdialer.

Output

Before

After

Documentation

  • Should this change be documented?
    • Yes, see #___
    • No

Related

Resolves #___

@jericop jericop requested review from a team as code owners June 24, 2025 14:49
@github-actions github-actions Bot added this to the 0.39.0 milestone Jun 24, 2025
@github-actions github-actions Bot added type/enhancement Issue that requests a new feature or improvement. type/chore Issue that requests non-user facing changes. labels Jun 24, 2025
@jericop jericop force-pushed the update-docker branch 4 times, most recently from 2138f82 to 51c29c8 Compare June 24, 2025 17:35
jericop added 3 commits June 26, 2025 13:41
Signed-off-by: Jerico Pena <jericop@gmail.com>
Signed-off-by: Jerico Pena <jericop@gmail.com>
Signed-off-by: Jerico Pena <jericop@gmail.com>
@jericop jericop changed the title Bump imgutil to latest and docker from v27.5.1 to v28.1.1 Bump imgutil to latest and docker from v27.5.1 to v28.3.0 Jun 26, 2025
jjbustamante

This comment was marked as duplicate.

Copy link
Copy Markdown
Member

@jjbustamante jjbustamante left a comment

Choose a reason for hiding this comment

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

Approved: Docker v27.5.1 → v28.3.0 Interface Migration

Summary

This PR successfully migrates from deprecated Docker interfaces to their v28.3.0 replacements. The changes are primarily structural with minimal functional impact.

Key Changes Reviewed

CommonAPIClient → APIClient: Clean migration across 19 files with no functional differences
ImageInspectWithRaw → ImageInspect: Simplified API - raw bytes were unused in all locations
DSA SSH Key Removal: Security improvement removing deprecated DSA support

Impact Assessment

  • Low Risk: Interface changes are structural only
  • Breaking Change: DSA users need to migrate to RSA/ECDSA/Ed25519 keys
  • Library Compatibility: Critical for jam and other pack library consumers

Verification

  • All deprecated interface usage patterns identified and replaced
  • Good abstraction layer in pkg/client/docker.go isolates changes
  • imgutil alignment ensures library compatibility

The migration is clean and necessary for maintaining compatibility with projects using pack as a library.

@jjbustamante jjbustamante merged commit 6ee43b1 into buildpacks:main Jun 27, 2025
15 checks passed
@jjbustamante jjbustamante modified the milestones: 0.39.0, 0.38.2 Jun 27, 2025
@jjbustamante jjbustamante added dependencies Pull requests that update a dependency file and removed type/enhancement Issue that requests a new feature or improvement. labels Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file type/chore Issue that requests non-user facing changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants