diff --git a/Dockerfile b/Dockerfile index 4af3ac8a3e..be6a19ca7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,6 @@ FROM ${BUILD_FROM} MAINTAINER Otto Winter 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"]