This commit is contained in:
commit
3000d27a43
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
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user