23 lines
503 B
Docker
23 lines
503 B
Docker
FROM alpine:latest
|
|
|
|
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
|
|
|
RUN apk add curl esptool nano bash
|
|
|
|
RUN curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/bin sh
|
|
|
|
COPY arduino-cli.yaml .
|
|
RUN mv arduino-cli.yaml /root/.arduino15/
|
|
|
|
#INSTALL ARDUINO COMPONENTS
|
|
RUN arduino-cli board list
|
|
RUN arduino-cli core update-index
|
|
RUN arduino-cli board install
|
|
RUN arduino-cli core install esp32:esp32
|
|
|
|
|
|
|
|
WORKDIR /component
|
|
|
|
|