Docker build fails always with error hcsshim::PrepareLayer - failed failed in Win32: Incorrect function. (0x1) Windows Containers

Steps to reproduce are very easy. Create a Dockerfile. My Dockerfile has many more lines, but I have trimmed them so we can focus in the source of the problem. Said that, these two lines alone (