This commit is contained in:
commit
39ef29cf6a
16
.drone.yml
Normal file
16
.drone.yml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: harbor.k-space.ee/${DRONE_REPO}
|
||||
registry: harbor.k-space.ee
|
||||
mtu: 1300
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM espressif/idf:v4.4
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN : \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y pkg-config \
|
||||
&& 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
|
||||
RUN cd /src/mpy-cross && make
|
||||
RUN cd /src/ports/unix && make submodules && make
|
||||
RUN cd /src/ports/esp32 && bash -c "source /opt/esp/idf/export.sh && make"
|
||||
CMD /src/ports/unix/micropython
|
Loading…
Reference in New Issue
Block a user