tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/wifinina/Dockerfile (about) 1 # docker build -t wifinina . 2 # docker run wifinina -v "../build/wifinina:/src/build" 3 4 FROM debian:stable-slim AS esp 5 WORKDIR /src 6 7 RUN apt-get clean && apt-get update && \ 8 apt-get install -y sudo wget gcc git wget libncurses-dev flex bison gperf build-essential \ 9 python python-pip python-setuptools python-serial python-cryptography python-future python-pyparsing make 10 11 RUN mkdir /src/wifinina && \ 12 cd /src/wifinina && \ 13 wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz && \ 14 mkdir -p /src/esp && \ 15 cd /src/esp && \ 16 tar -xzf /src/wifinina/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz 17 18 RUN cd /src/esp && \ 19 git clone --branch v3.3.1 --recursive https://github.com/espressif/esp-idf.git 20 21 FROM esp AS nina 22 23 RUN cd /src/esp && \ 24 git clone https://github.com/arduino/nina-fw.git 25 26 COPY ./firmware.sh /src 27 RUN chmod +x /src/firmware.sh 28 ENTRYPOINT ["/src/firmware.sh"]