docker_build() has ability to live-update. Let’s assume three directories (dir1
, dir2
and dir3
) are initially used in building a docker image. The user doesn’t want any updates in the dir3
to rebuild the image / restart the container.
By specifying sync to dir1
and dir2
in the live update, the image is getting rebuilt whenever dir3
changes. Is there any way for the docker-build to communicate ignore updates in dir3
?
The ignore
/ only
arguments in the function also exclude dir3
from the image build which is not intended!