refined-addition-53644
11/14/2022, 8:03 PMcurved-television-6568
11/14/2022, 8:04 PMbuild_arg
you can provide the value for that arg as an ENV variable..refined-addition-53644
11/14/2022, 8:06 PMbuild_arg
specific ENV variable and use default values when running locally. Do you think it’s possible to do that using plugin for docker_image
?build_arg
?curved-television-6568
11/14/2022, 8:11 PMIt’s just setting all these build_arg means I need to set them everywhere i.e. even locally. Otherwise pants will complain.yea, well, using a bootstrap script, this may not be as painful as it sounds.
# .pants.bootstrap
: ${CUSTOM_REPO:="local"}
https://github.com/pantsbuild/setup/blob/db310991388e3903b8b1356ed1a4e8747adfc925/pants#L20refined-addition-53644
11/14/2022, 8:17 PM