mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 00:18:11 +01:00
Make docker use pip installed pillow (#5074)
This commit is contained in:
parent
d238155640
commit
5eb12ac5fe
1 changed files with 10 additions and 4 deletions
|
@ -22,16 +22,22 @@ RUN \
|
||||||
python3=3.9.2-3 \
|
python3=3.9.2-3 \
|
||||||
python3-pip=20.3.4-4+deb11u1 \
|
python3-pip=20.3.4-4+deb11u1 \
|
||||||
python3-setuptools=52.0.0-4 \
|
python3-setuptools=52.0.0-4 \
|
||||||
python3-pil=8.1.2+dfsg-0.3+deb11u1 \
|
|
||||||
python3-cryptography=3.3.2-1 \
|
python3-cryptography=3.3.2-1 \
|
||||||
python3-venv=3.9.2-3 \
|
python3-venv=3.9.2-3 \
|
||||||
iputils-ping=3:20210202-1 \
|
iputils-ping=3:20210202-1 \
|
||||||
git=1:2.30.2-1+deb11u2 \
|
git=1:2.30.2-1+deb11u2 \
|
||||||
curl=7.74.0-1.3+deb11u7 \
|
curl=7.74.0-1.3+deb11u7 \
|
||||||
openssh-client=1:8.4p1-5+deb11u1 \
|
openssh-client=1:8.4p1-5+deb11u1 \
|
||||||
libcairo2=1.16.0-5 \
|
python3-cffi=1.14.5-1; \
|
||||||
python3-cffi=1.14.5-1 \
|
if [ "$TARGETARCH$TARGETVARIANT" = "armv7" ]; then \
|
||||||
&& rm -rf \
|
apt-get install -y --no-install-recommends \
|
||||||
|
build-essential=12.9 \
|
||||||
|
python3-dev=3.9.2-3 \
|
||||||
|
zlib1g-dev=1:1.2.11.dfsg-2+deb11u2 \
|
||||||
|
libjpeg-dev=1:2.0.6-4 \
|
||||||
|
libcairo2=1.16.0-5; \
|
||||||
|
fi; \
|
||||||
|
rm -rf \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
/var/{cache,log}/* \
|
/var/{cache,log}/* \
|
||||||
/var/lib/apt/lists/*
|
/var/lib/apt/lists/*
|
||||||
|
|
Loading…
Reference in a new issue