t-vk / docker-esp-sdk Goto Github PK
View Code? Open in Web Editor NEWExecutable docker image to easily compile and flash for the ESP32 and ESP8266
Executable docker image to easily compile and flash for the ESP32 and ESP8266
I'm a Docker noob, but the pull command did not work for me.
$ sudo docker pull tavk/esp-sdk
Using default tag: latest
Pulling repository docker.io/tavk/esp-sdk
Tag latest not found in repository docker.io/tavk/esp-sdk
After that I used:
sudo docker pull tavk/esp-sdk:0.1.0
That was working for me.
Esp32 uses https://github.com/espressif/esp-idf
I'm not aware of any alternatives at this time.
So would be nice to have a separate docker setup for esp32.
The process to build the sdk in docker as described here no longer works.
The command sudo docker build -t tavk/esp-sdk:0.1.0 .
fails with this output.
[04:43] / ct-ng:152: recipe for target 'build' failed
make[2]: *** [build] Error 1
make[2]: Leaving directory '/home/esp/esp-open-sdk/crosstool-NG'
../Makefile:135: recipe for target '_toolchain' failed
make[1]: *** [_toolchain] Error 2
make[1]: Leaving directory '/home/esp/esp-open-sdk/crosstool-NG'
Makefile:130: recipe for target 'crosstool-NG/.built' failed
make: *** [crosstool-NG/.built] Error 2
The command '/bin/sh -c cd esp-open-sdk && make STANDALONE=n' returned a non-zero code: 2
Inside the container, build.log
contains:
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/home/esp/esp-open-sdk/crosstool-NG/.build/tarballs/cloog-0.18.4.tar.xz.tmp-dl' 'http://www.bastoul.net/cloog/pages/download/cloog-0.18.4.tar.xz'
[ALL ] --2016-10-25 08:57:42-- http://www.bastoul.net/cloog/pages/download/cloog-0.18.4.tar.xz
[ALL ] Resolving www.bastoul.net (www.bastoul.net)... 62.210.16.62
[ALL ] Connecting to www.bastoul.net (www.bastoul.net)|62.210.16.62|:80... connected.
[ALL ] HTTP request sent, awaiting response... 404 Not Found
[ALL ] 2016-10-25 08:57:43 ERROR 404: Not Found.
and
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/home/esp/esp-open-sdk/crosstool-NG/.build/tarballs/binutils-2.25.1.tar.xz.tmp-dl' 'http://ftp.gnu.org/gnu/binutils/binutils-2.25.1.tar.xz'
[ALL ] URL transformed to HTTPS due to an HSTS policy
[ALL ] --2016-10-25 08:58:00-- https://ftp.gnu.org/gnu/binutils/binutils-2.25.1.tar.xz
[ALL ] Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20, 2001:4830:134:3::b
[ALL ] Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:443... connected.
[ALL ] HTTP request sent, awaiting response... 404 Not Found
[ALL ] 2016-10-25 08:58:01 ERROR 404: Not Found.
as well as 404 errors for
http://ftp.kernel.org/pub/linux/devel/binutils/binutils-2.25.1.tar.lzma
https://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.xz
http://mirrors.kernel.org/sourceware/gdb/gdb-7.10.tar.xz
http://mirrors.kernel.org/sources.redhat.com/newlib/newlib-2.0.0.tar.bz2
Are there recommendations for locating the missing sources?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.