Is there any way to pass through docker build opti...
# general
h
Is there any way to pass through docker build options like
--no-cache
with
./pants package
? I see
run_args
support, but not similar for build.
b
I think you’re right that there’s not a way. https://github.com/pantsbuild/pants/issues/15199 is somewhat related, but not fully so another feature request issue might make sense if you have a moment
c
this ought to be fixed. there’s a couple of threads showing a work around using a
docker
shim script in this slack history.
b
As in, putting a script called
docker
on the system PATH (outside pants’ management) that invokes docker just right? That sounds like a workaround rather than a fix 😄
c
yea, I referred to those threads as such too 😉
👍 1
b
Ah yep, sorry misread the sense of your comment 😅
c
wasn’t the clearest.. 😜