micropython-unix/Dockerfile
Lauri Võsandi 84a66b04e7
All checks were successful
continuous-integration/drone Build is passing
Initial commit
2022-05-03 19:06:20 +03:00

15 lines
443 B
Docker

FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y build-essential git libffi-dev pkg-config python3 wget \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
RUN git clone --depth 1 -b v1.18 https://github.com/micropython/micropython.git /src
WORKDIR /src/mpy-cross
RUN make
WORKDIR /src/ports/unix
RUN make submodules
RUN make
ENTRYPOINT /src/ports/unix/micropython
CMD modules/main.py