micropython/Dockerfile

12 lines
446 B
Docker
Raw Permalink Normal View History

2022-03-11 11:15:19 +00:00
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