mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fix install pillow in docker image (#338)
Fixes https://github.com/OttoWinter/esphomeyaml/issues/266
This commit is contained in:
		| @@ -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"] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user