chore: fix deprecation linter warnings

Description

Fix deprecation warnings:

  • replaced Docker types: types.MountPoint, client.IsErrNotFound, ImageInspectWithRaw, types.Container
  • replaced deprecated Docker pkg/archive functions with standard Go archive/tar package and rewrote prepareArchive() function to manually create tar archives
  • removed unused types import and parameters after replacing deprecated types

Related issue

Examples

Checklist

  • MR description has been reviewed
  • MR changes are functionally tested
  • MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed & DOCS ARE ADJUSTED (reference doc, etc)
  • MR does NOT have UI changes OR there are UI changes and they have been reviewed & UX IS REVIEWED
Edited by Artyom Kartasov

Merge request reports

Loading