Initial commit
continuous-integration/drone Build is passing Details

This commit is contained in:
Lauri Võsandi 2022-03-11 13:15:19 +02:00 committed by Lauri Võsandi
commit 3000d27a43
2 changed files with 27 additions and 0 deletions

16
.drone.yml Normal file
View 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
View 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