With docker 23.x from docker.com, the heavy progress output from Docker contains many terminal escape sequences, and they interfere with output we can print from a pre-build hook, as much as hiding a 200+ line find output like generated from:
Workaround: redirect to a file so docker stops producing terminal control sequences, but at the same time modify the pre-build hook so that docker does not just fetch an overlay from cached previous runs.
cross version used: 44011c8
With docker 23.x from docker.com, the heavy progress output from Docker contains many terminal escape sequences, and they interfere with output we can print from a pre-build hook, as much as hiding a 200+ line find output like generated from:
Workaround: redirect to a file so docker stops producing terminal control sequences, but at the same time modify the pre-build hook so that docker does not just fetch an overlay from cached previous runs.