Currently TestBuildRenamedDockerfile fails since passing
custom dockerfile paths like:
docker build -f dir/file .
fails on windows because those are unix paths. Instead, on
windows accept windows style paths like:
docker build -f dir\file .
and convert them to unix style paths using the helper we
have in `pkg/archive` so that daemon can correctly locate
the path in the context.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
|
||
|---|---|---|
| .. | ||
| testdata | ||
| archive.go | ||
| archive_test.go | ||
| archive_unix.go | ||
| archive_unix_test.go | ||
| archive_windows.go | ||
| archive_windows_test.go | ||
| changes.go | ||
| changes_posix_test.go | ||
| changes_test.go | ||
| diff.go | ||
| diff_test.go | ||
| example_changes.go | ||
| MAINTAINERS | ||
| README.md | ||
| time_linux.go | ||
| time_unsupported.go | ||
| utils_test.go | ||
| wrap.go | ||
This code provides helper functions for dealing with archive files.