marcelstoer / docker-nodemcu-build

Docker image to build NodeMCU firmware for the ESP8266 on your machine
https://hub.docker.com/r/marcelstoer/nodemcu-build/
MIT License
128 stars 63 forks source link

Unable to build ESP8266 firmware: README out of date #97

Closed sgily closed 3 years ago

sgily commented 3 years ago

Hi, as preface, i'll say that i have no experience with dockers, so in part i have no idea what i'm doing. It is possible that i screwed up somewhere, although i simply followed the guidelines.

Issue 1: app directory no longer exists. Instructions say to do git checkout dev-esp32 - but the dev-esp32 branch does not have app/include directory, and user_config.h file can no longer be found there.

Issue 2: unable to complete docker build ~/nodemcu-firmware$ sudo docker run --rm -ti -v 'pwd':/opt/nodemcu-firmware marcelstoer/nodemcu-build build fatal: Not a git repository (or any parent up to mount point /opt/nodemcu-firmware) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Changing URL to repository from "marcelstoer/nodemcu-build" to "marcelstoer/docker-nodemcu-build " yields: ~/nodemcu-firmware$ sudo docker run --rm -ti -v 'pwd':/opt/nodemcu-firmware marcelstoer/docker-nodemcu-build build Unable to find image 'marcelstoer/docker-nodemcu-build:latest' locally docker: Error response from daemon: pull access denied for marcelstoer/docker-nodemcu-build, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'.

marcelstoer commented 3 years ago

Issue 1: app directory no longer exists.

Unrelated to Docker or this image. If you want to build the image yourself please familiarize yourself with ESP-IDF and the NodeMCU dev-esp32 branch.

Issue 2: unable to complete docker build

Just copy-paste the commands from the README as completely as possible. It's `pwd` and not 'pwd'.

Changing URL to repository from "marcelstoer/nodemcu-build" to "marcelstoer/docker-nodemcu-build"

Just checked, the README has no mention of that 2nd Docker image. Neither has the description on Docker Hub. I don't know where you got that from.