Closed woodcarving closed 6 years ago
https://github.com/marcelstoer/docker-nodemcu-build#run-this-image-with-docker
...and change to the NodeMCU firmware directory (in the Docker console). Then run...
cd ~/nodemcu-firmware
docker...
@marcelstoer I am having the same problem it is not that I did not enter the firmware directory after the git clone, but rather:
[rafael@asusraf nodemcu-firmware]$ docker run --rm -ti -v $(pwd):/opt/nodemcu-firmware marcelstoer/nodemcu-build bash
root@f2e68fbc3563:/opt/nodemcu-firmware# ls -l
ls: cannot open directory '.': Permission denied
One would ask how is it that an image running as root cannot access any directory? That rings the bell as SELINUX or similar
yes.
sudo setenforce 0
I use fedora 31 that has SELINUX enabled, apparently.
livecd Ubuntu 16.04 LTS, after installing git and docker (17.05.0-ce):
Ok..
Ok, one more time
how to fix it and build? Thanks.