micropython/Dockerfile
Lauri Võsandi 3000d27a43
All checks were successful
continuous-integration/drone Build is passing
Initial commit
2022-03-11 13:15:19 +02:00

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