You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
605 B
25 lines
605 B
6 years ago
|
FROM debian:stretch
|
||
|
|
||
|
RUN apt-get update && apt-get install -yy \
|
||
|
git \
|
||
|
wget \
|
||
|
make \
|
||
|
libncurses-dev \
|
||
|
flex \
|
||
|
bison \
|
||
|
gperf \
|
||
|
python \
|
||
|
python-serial
|
||
|
|
||
|
RUN mkdir /esp
|
||
|
WORKDIR /esp
|
||
|
|
||
|
RUN wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz \
|
||
|
-O xtensa-esp32-elf.tar.gz
|
||
|
RUN tar --extract --verbose --file xtensa-esp32-elf.tar.gz && rm xtensa-esp32-elf.tar.gz
|
||
|
|
||
|
RUN git clone --branch v3.1.1 --depth 1 --recursive https://github.com/espressif/esp-idf.git
|
||
|
|
||
|
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/esp/xtensa-esp32-elf/bin \
|
||
|
IDF_PATH=/esp/esp-idf
|