quaint-telephone-89068
11/18/2022, 12:59 AMdocker_image(
name="srcs",
dependencies=['...'],
registries=['...'],
repository='...',
instructions=['FROM ...',
source=None,
image_tags=['...'],
)
and I get the following error when i do a pants peek on srcs:
InvalidFieldException: The `docker_image` ... provides both a Dockerfile with the `source` field, and Dockerfile contents with the `instructions` field, which is not supported.
To fix, please either set `source=None` or `instructions=None
Setting source='' seems to solve it, but the docs say setting to None should work. And i would also assume the ideal behavior would be that setting instructions would automatically override the source arg?
Thank
Pants version
2.14.0
OS
Only have tested on MacOS Monterey 12.0.1, Intel
pantsbuild/pantsuser
11/27/2022, 10:48 PM