1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Fix docker installs using old platformio version (#125)

* Fix min platformio version and update requirements

* Remove unnecessary requirements from travis
This commit is contained in:
Otto Winter
2018-09-27 01:14:51 +09:00
committed by GitHub
parent 5e5137960d
commit ab6d293d0d
5 changed files with 11 additions and 15 deletions

View File

@@ -10,17 +10,13 @@ EXPOSE 6123
VOLUME /config
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt && \
pip install --no-cache-dir tornado esptool
COPY docker/platformio.ini /usr/src/app/
RUN platformio settings set enable_telemetry No && \
platformio run -e espressif32 -e espressif8266; exit 0
COPY . .
RUN pip install --no-cache-dir -e . && \
pip install --no-cache-dir tzlocal
pip install --no-cache-dir tzlocal pillow
WORKDIR /config
ENTRYPOINT ["esphomeyaml"]