mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Update build scripts
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ARG BUILD_FROM=esphome/esphome-base-amd64:2.1.1
|
||||
ARG BUILD_FROM=esphome/esphome-base-amd64:2.3.1
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
COPY . .
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM esphome/esphome-base-amd64:2.0.1
|
||||
FROM esphome/esphome-base-amd64:2.3.1
|
||||
|
||||
COPY . .
|
||||
|
||||
|
@@ -1,24 +1,7 @@
|
||||
FROM esphome/esphome-base-amd64:2.1.2
|
||||
FROM esphome/esphome-lint-base:2.3.1
|
||||
|
||||
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
|
||||
COPY requirements.txt requirements_test.txt /
|
||||
RUN pip3 install --no-cache-dir -r /requirements.txt -r /requirements_test.txt
|
||||
|
||||
VOLUME ["/esphome"]
|
||||
WORKDIR /esphome
|
||||
|
Reference in New Issue
Block a user