• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 29006511814

09 Jul 2026 08:57AM UTC coverage: 92.956% (+0.005%) from 92.951%
29006511814

push

github

web-flow
Feature: Add generic option to docker image (#23250)

This pull request allows it now to add generic build options to
docker/podman build. It will also work as a workaround for issue:
https://github.com/pantsbuild/pants/issues/21450

It is now possible to use pass generic build options to docker and
podman. The old arguments such as pull on docker_image target level or
no-cache on global level will still work, however the new
build_extra_option will have precedence.

AI was used to find the right locations in the code base for the changes
and to write the tests faster. However, most of the code was written by
human.

This is an improvement of pull request:
https://github.com/pantsbuild/pants/pull/23032

78 of 79 new or added lines in 4 files covered. (98.73%)

94481 of 101641 relevant lines covered (92.96%)

3.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

97.34
/src/python/pants/backend/docker/goals/package_image.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc