Closed cm226 closed 5 months ago
I was calling custom_build and using the "div" and "env" paramaters. Once I swapped to calling custom_build_with_restart I got the following errors:
Error in docker_build: docker_build: unexpected keyword argument "dir"
Expected Behavior no error
I managed to fix it by adding "env" and "dir" to _CUSTOM_BUILD_KWARGS_BLACKLIST. Which I guess is the right thing to do?
_CUSTOM_BUILD_KWARGS_BLACKLIST = [ 'tag', 'command_bat', 'outputs_image_ref_to', 'disable_push', 'dir', 'env' ]
I was calling custom_build and using the "div" and "env" paramaters. Once I swapped to calling custom_build_with_restart I got the following errors:
Error in docker_build: docker_build: unexpected keyword argument "dir"
Expected Behavior no error
I managed to fix it by adding "env" and "dir" to _CUSTOM_BUILD_KWARGS_BLACKLIST. Which I guess is the right thing to do?
_CUSTOM_BUILD_KWARGS_BLACKLIST = [ 'tag', 'command_bat', 'outputs_image_ref_to', 'disable_push', 'dir', 'env' ]