This commit is contained in:
commit
84a66b04e7
2
.drone.yml
Normal file
2
.drone.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
kind: template
|
||||||
|
load: docker.yaml
|
14
Dockerfile
Normal file
14
Dockerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user