CLI first-run process creates repeating visual artifacts
See original GitHub issueSteps to reproduce
Build SDK docker container @ https://github.com/dotnet/dotnet-docker/tree/master/2.0/sdk/stretch/amd64
In that directory, run the following command:
docker build -t sdk-test .
Expected behavior
No duplicate artifacts
Actual behavior
A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once. Decompressing 0%…1%…2%…3%…4%…5%…6%…7%…8%…9%…10%…11%…12%…13%…14%…15%…16%…17%…18%…19%…20%…21%…22%…23%…24%…25%…26%…27%…28%…29%…30%…31%…32%…33%…34%…35%…36%…37%…38%…39%…40%…41%…42%…43%…44%…45%…46%…47%…48%…49%…50%…51%…52%…53%…54%…55%…56%…57%…58%…59%…60%…61%…62%…63%…64%…65%…66%…67%…68%…69%…70%…71%…72%…73%…74%…75%…76%…77%…78%…79%…80%…81%…82%…83%…84%…85%…86%…87%…88%…89%…90%…91%…92%…93%…94%…95%…96%…97%…98%…99%…100% 7108 ms Expanding 0%…1%…2%…3%…4%…5%…6%…7%…8%…9%…10%…11%…12%…13%…14%…15%…16%…17%…18%…19%…20%…21%…22%…23%…24%…25%…26%…27%…28%…29%…30%…31%…32%…33%…34%…35%…36%…37%…38%…39%…40%…41%…42%…43%…44%…45%…46%…47%…48%…49%…50%…51%…52%…53%…54%…55%…56%…57%…58%…59%…60%…61%…62%…63%…64%…65%…66%…67%…68%…69%…70%…71%…72%…73%…74%…75%…76%…77%…78%…79%…80%…81%…82%…83%…84%…85%…86%…87%…88%…89%…90%…91%…92%…93%…94%…95%…96%…97%…98%…99%…100% 16836 ms
Environment
Happens with cmd.exe and bash when building container images with Docker.exe.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
After changing it to a period representing every 10%, I prefer it as it shows progress without being overly verbose. Let’s go with that unless anyone has objections.
I have a fix for this that will print a period for each percentage completed. So it would look like this when redirected:
Does this work for everyone or is that too long? I’m fine with one period representing 10% too.