FROM larsks/esp-open-sdk RUN yum install -y libffi-devel RUN git clone --depth 1 -b v1.19 https://github.com/micropython/micropython.git /src WORKDIR /src/mpy-cross RUN make WORKDIR /src/ports/esp8266 RUN make submodules && make CMD make && cp build-GENERIC/firmware-combined.bin /build/