mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-22 12:05:12 +01:00
22 lines
735 B
Docker
22 lines
735 B
Docker
FROM python:3.9
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y protobuf-compiler
|
|
|
|
WORKDIR /aioesphomeapi
|
|
|
|
COPY requirements_test.txt ./
|
|
|
|
RUN pip3 install -r requirements_test.txt
|
|
|
|
CMD ["script/gen-protoc"]
|
|
|
|
LABEL \
|
|
org.opencontainers.image.title="aioesphomeapi protobuf generator" \
|
|
org.opencontainers.image.description="An image to help with ESPHomes aioesphomeapi protobuf generation" \
|
|
org.opencontainers.image.vendor="ESPHome" \
|
|
org.opencontainers.image.licenses="MIT" \
|
|
org.opencontainers.image.url="https://esphome.io" \
|
|
org.opencontainers.image.source="https://github.com/esphome/aioesphomeapi" \
|
|
org.opencontainers.image.documentation="https://github.com/esphome/aioesphomeapi/blob/main/README.md"
|