Skip to content

tools: add little helper to bump Dockerfiles#5680

Open
christoph-zededa wants to merge 1 commit intolf-edge:masterfrom
christoph-zededa:dockerfile_bump_tool
Open

tools: add little helper to bump Dockerfiles#5680
christoph-zededa wants to merge 1 commit intolf-edge:masterfrom
christoph-zededa:dockerfile_bump_tool

Conversation

@christoph-zededa
Copy link
Contributor

@christoph-zededa christoph-zededa commented Mar 16, 2026

Description

This tool bumps the hashes in Dockerfiles of other docker images generated by linuxkit in this repository.

I used this tool a lot during bumping alpine, perhaps it is also useful for others. If not we can also close this PR again.

Perhaps this script is easier to find then (#5593 (comment) ).

How to test and validate this PR

use the tool (correctly) and verify with make check-docker-hashes-consistency

Changelog notes

Internal tool added

PR Backports

For all current LTS branches, please state explicitly if this PR should be
backported or not. This section is used by our scripts to track the backports,
so, please, do not omit it.

Here is the list of current LTS branches (it should be always up to date):

  • 16.0-stable: no
  • 14.5-stable: no
  • 13.4-stable: no

Checklist

  • I've provided a proper description
  • I've added the proper documentation
  • I've tested my PR on amd64 device
  • I've tested my PR on arm64 device
  • I've written the test verification instructions
  • I've set the proper labels to this PR

And the last but not least:

  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

Please, check the boxes above after submitting the PR in interactive mode.

this tool bumps the hashes in Dockerfiles of other
docker images generated by linuxkit in this repository

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
@rucoder
Copy link
Contributor

rucoder commented Mar 16, 2026

@christoph-zededa Perl? ;) let's do COBOL next time!

@christoph-zededa
Copy link
Contributor Author

@christoph-zededa Perl? ;) let's do COBOL next time!

or real python: https://metacpan.org/pod/Acme::Python ;-)

@codecov
Copy link

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 29.49%. Comparing base (2281599) to head (3597810).
⚠️ Report is 341 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5680      +/-   ##
==========================================
+ Coverage   19.52%   29.49%   +9.96%     
==========================================
  Files          19       18       -1     
  Lines        3021     2417     -604     
==========================================
+ Hits          590      713     +123     
+ Misses       2310     1552     -758     
- Partials      121      152      +31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants