micropython-esp32/Dockerfile
Lauri Võsandi 39ef29cf6a
All checks were successful
continuous-integration/drone Build is passing
Initial commit
2022-03-15 09:29:18 +02:00

13 lines
456 B
Docker

FROM espressif/idf:v4.4
ENV DEBIAN_FRONTEND=noninteractive
RUN : \
&& apt-get update \
&& apt-get install -y pkg-config \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
RUN git clone --depth 1 -b v1.18 https://github.com/micropython/micropython.git /src
RUN cd /src/mpy-cross && make
RUN cd /src/ports/unix && make submodules && make
RUN cd /src/ports/esp32 && bash -c "source /opt/esp/idf/export.sh && make"
CMD /src/ports/unix/micropython