Initial commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Lauri Võsandi 2022-03-15 21:52:26 +02:00 committed by Lauri Võsandi
commit 84a66b04e7
3 changed files with 23 additions and 0 deletions

2
.drone.yml Normal file
View File

@ -0,0 +1,2 @@
kind: template
load: docker.yaml

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
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

7
README.md Normal file
View File

@ -0,0 +1,7 @@
This is MicroPython executable image for `amd64` Linux platform.
It can be used for developing MicroPython applications,
to spin it up use following:
```
docker run -it harbor.k-space.ee/k-space/micropython-unix
```