Problem
Now, there are two options for displaying logs of docker image build from Dockerfile: completely disable the output, however, it may contain useful information in case of problems, output to stderr, but the log may be large and clog up the output.
Solution
To add the ability to specify an io.Writer for build log. I will attach a PR with a possible implementation below.
Benefit
To solve this problem, add a flexible configuration for working with build logs.
Alternatives
Would you like to help contributing this feature?
Yes
Problem
Now, there are two options for displaying logs of docker image build from Dockerfile: completely disable the output, however, it may contain useful information in case of problems, output to stderr, but the log may be large and clog up the output.
Solution
To add the ability to specify an io.Writer for build log. I will attach a PR with a possible implementation below.
Benefit
To solve this problem, add a flexible configuration for working with build logs.
Alternatives
Would you like to help contributing this feature?
Yes