mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 23:41:45 +01:00
24 lines
682 B
Text
24 lines
682 B
Text
FROM esphome/esphome-base-amd64:2.1.2
|
|
|
|
RUN \
|
|
apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
clang-format-7 \
|
|
clang-tidy-7 \
|
|
patch \
|
|
software-properties-common \
|
|
# Update to latest git version because of github actions
|
|
# https://github.com/actions/checkout/issues/126
|
|
&& apt-add-repository ppa:git-core/ppa \
|
|
&& apt-get install -y --no-install-recommends \
|
|
git \
|
|
&& rm -rf \
|
|
/tmp/* \
|
|
/var/{cache,log}/* \
|
|
/var/lib/apt/lists/*
|
|
|
|
COPY requirements_test.txt /requirements_test.txt
|
|
RUN pip3 install --no-cache-dir -r /requirements_test.txt
|
|
|
|
VOLUME ["/esphome"]
|
|
WORKDIR /esphome
|