2019-05-28 08:23:15 +00:00
|
|
|
FROM esphome/esphome-base-amd64:1.5.1
|
2018-06-13 09:13:53 +00:00
|
|
|
|
2019-05-28 08:23:15 +00:00
|
|
|
RUN \
|
|
|
|
apt-get update \
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
clang-format-7 \
|
|
|
|
clang-tidy-7 \
|
|
|
|
patch \
|
|
|
|
&& rm -rf \
|
|
|
|
/tmp/* \
|
|
|
|
/var/{cache,log}/* \
|
|
|
|
/var/lib/apt/lists/*
|
2018-08-25 20:27:30 +00:00
|
|
|
|
2019-05-28 08:23:15 +00:00
|
|
|
COPY requirements_test.txt /requirements_test.txt
|
|
|
|
RUN pip2 install -r /requirements_test.txt
|
|
|
|
|
|
|
|
VOLUME ["/esphome"]
|
|
|
|
WORKDIR /esphome
|