esphome/docker/Dockerfile.lint

11 lines
396 B
Docker
Raw Normal View History

ARG BUILD_FROM=esphome/esphome-lint-base:latest
FROM ${BUILD_FROM}
2021-06-08 22:03:04 +02:00
COPY requirements.txt requirements_optional.txt requirements_test.txt docker/platformio_install_deps.py platformio.ini /
RUN \
2021-06-08 22:03:04 +02:00
pip3 install --no-cache-dir -r /requirements.txt -r /requirements_optional.txt -r /requirements_test.txt \
&& /platformio_install_deps.py /platformio.ini
2019-05-28 10:23:15 +02:00
VOLUME ["/esphome"]
WORKDIR /esphome