Closed hanfengcan closed 5 years ago
Maybe link dont work on windows file system.
I think that it should be copy file and rename instead of link
I use the docker on windows and share the file to linux
works for me. Maybe you only have read access to the windows share in the docker image. Maybe try starting the docker with bash instead of build in the command. follow the following transcript
root@5bf86173dd80:/opt/nodemcu-firmware# touch testfile
root@5bf86173dd80:/opt/nodemcu-firmware# ls -l testfile
-rwxr-xr-x 1 root root 0 Dec 8 20:01 testfile
root@5bf86173dd80:/opt/nodemcu-firmware#
If you get any errors they might be a clue
@HHHartmann I try to use the cmder and git-bash. but error.
my docker is docker toolbox
@hanfengcan when you start the docker build there is a command like
docker run --rm -it -v C:/Development/nodemcu-firmware:/opt/nodemcu-firmware marcelstoer/nodemcu-build build
replace the last build
by bash
and try then. To exit use the command exit
At some point you configured the shared drive for docker to use. Make sure the user can write to the network share.
@HHHartmann
I login the vm and cp the firmware to vm file system.
and everything is OK
I try to build firmware use docker on windows.
it throw error like
I can success build firmwork with previous release.