12 lines
446 B
Docker
12 lines
446 B
Docker
|
FROM larsks/esp-open-sdk
|
||
|
ARG VERSION=v1.18
|
||
|
RUN git clone --depth 1 -b $VERSION https://github.com/micropython/micropython.git /micropython
|
||
|
RUN cd /micropython/ports/esp8266 && make submodules
|
||
|
RUN cd /micropython/mpy-cross && make
|
||
|
RUN cd /micropython/ports/esp8266 && make
|
||
|
RUN yum install -y libffi-devel
|
||
|
RUN cd /micropython/ports/unix && make submodules
|
||
|
RUN cd /micropython/ports/unix && make
|
||
|
CMD /micropython/ports/unix/micropython
|
||
|
WORKDIR /app
|