Join GitHub today
pkg/archive: Canonicalize stored paths #10865
Currently pkg/archive stores nested windows files with
This change assures we canonicalize all paths to unix
With this change we sustain unix-style paths in Dockerfiles
Fixes the following test cases for Windows CI:
referenced this pull request
Feb 19, 2015
@crosbymichael I'm not sure what you mean but if we build build context using windows CLI right now, nested paths are stored with backslashes, and therefore on linux daemon side, all those nested files are extracted as filenames with backslashes rather than going inside these directories. this fixes that.
edit: per our irc convo, yes, windows CI is expected to fail for everything, we're counting down from 100 failures to a green CI at this point.