Files
addons/google_assistant/Dockerfile
Pascal Vizeli e8fa8aa5c8 Update New CLI (#500)
* Update New CLI

* Fix shell

* ssh: Include hassio bash completion (#501)
2019-01-09 13:59:44 +01:00

23 lines
650 B
Docker

ARG BUILD_FROM
FROM $BUILD_FROM
# Install packages
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
jq tzdata python3 python3-dev python3-pip libportaudio2 alsa-utils \
&& pip3 install --no-cache-dir --upgrade setuptools \
&& pip3 install --no-cache-dir \
google-assistant-library==1.0.0 \
google-assistant-sdk==0.5.0 \
google-assistant-grpc==0.2.0 \
google-auth requests_oauthlib cherrypy \
&& apt-get remove -y --purge python3-pip python3-dev \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
# Copy data
COPY run.sh /
COPY *.py /
ENTRYPOINT [ "/run.sh" ]