mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +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> | MAINTAINER Otto Winter <contact@otto-winter.com> | ||||||
|  |  | ||||||
| RUN apt-get update && apt-get install -y \ | RUN apt-get update && apt-get install -y \ | ||||||
|         python-pil \ |  | ||||||
|         git \ |         git \ | ||||||
|     && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* && \ |     && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* && \ | ||||||
|     pip install --no-cache-dir --no-binary :all: platformio && \ |     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 | RUN platformio run -d /pio; rm -rf /pio | ||||||
|  |  | ||||||
| COPY . . | 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 | WORKDIR /config | ||||||
| ENTRYPOINT ["esphomeyaml"] | ENTRYPOINT ["esphomeyaml"] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user