Some developers of our codebase will have environm...
# general
n
Some developers of our codebase will have environments where docker build is not allowed. Is there any way to make packaging docker_image targets fail with a warning instead of error? What is a minimal targets filter to exclude this type from a :: glob (or selection w/ new semantics)?
h
./pants package --filter-target-type="-docker_image" ::
You can replace
package
with
list
to see which targets would be selected
And you can use CLI aliasing to make an even shorter command for this: https://www.pantsbuild.org/docs/reference-cli#alias