Build MicroPython firmware.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ARG IDF_CLONE_BRANCH_OR_TAG=v4.3
ARG IDF_CHECKOUT_REF=v4.3

FROM espressif/idf:v4.3

USER root

WORKDIR /root
RUN git clone -b dev-8.0 https://github.com/lvgl/lv_micropython.git --recurse-submodules --depth=1

WORKDIR /root/lv_micropython
RUN make -j4 -C mpy-cross

WORKDIR /root/lv_micropython/ports/esp32
COPY makefile .

CMD make -j4 submodules && make -j4