Symlinking of content into build context for "docker build" stopped working in latest DFW release

Yesterday I upgraded my Docker for Windows to Version 17.12.0-ce-win46 (15048). Now an ADD command in my docker file is failing. This particular ADD command takes advantage of a directory symlink, as follows:

. With the 15048 build, I get an error telling me the source file does not exist.

Was this change in behavior done by design, perhaps closing an undesirable loophole? Or would this be considered a regression error? Or is there some known way to get it working again with the 15048 build?

Update: Support for symlinks is still broken in the latest release, 17.12.0-ce-win47 (15139). For now, I have dropped back to an older DFW release which still works: 17.09.0-ce-win33 (13620). (It could be that it works in newer releases than that…but this is the only one I still happened to have handy.)

If you haven’t already, please open an issue here: https://github.com/docker/for-win/issues

Thanks for the link! I will do so immediately.