mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Fix install pillow in docker image (#338)
Fixes https://github.com/OttoWinter/esphomeyaml/issues/266
This commit is contained in:
parent
54dd9e94ab
commit
a683108b5d
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,6 @@ FROM ${BUILD_FROM}
|
|||
MAINTAINER Otto Winter <contact@otto-winter.com>
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python-pil \
|
||||
git \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* && \
|
||||
pip install --no-cache-dir --no-binary :all: platformio && \
|
||||
|
@ -21,7 +20,8 @@ COPY docker/platformio.ini /pio/platformio.ini
|
|||
RUN platformio run -d /pio; rm -rf /pio
|
||||
|
||||
COPY . .
|
||||
RUN pip install --no-cache-dir --no-binary :all: -e .
|
||||
RUN pip install --no-cache-dir --no-binary :all: -e . && \
|
||||
pip install --no-cache-dir pillow
|
||||
|
||||
WORKDIR /config
|
||||
ENTRYPOINT ["esphomeyaml"]
|
||||
|
|
Loading…
Reference in a new issue