Files
addons/google_assistant/Dockerfile
Pascal Vizeli 87c89d3893 fix aplay (#141)
* Update Dockerfile

* Update config.json

* Update Dockerfile
2017-07-20 16:29:36 +02:00

21 lines
597 B
Docker

#armhf:FROM multiarch/debian-debootstrap:armhf-stretch
#amd64:FROM multiarch/debian-debootstrap:amd64-stretch
# Install packages
RUN apt-get update \
&& apt-get install -y jq tzdata python3 python3-dev python3-pip \
python3-six python3-pyasn1 libportaudio2 alsa-utils \
&& pip3 install google-assistant-library google-auth \
&& apt-get remove -y --purge python3-pip python3-dev \
&& apt autoremove -y \
&& rm -rf /var/lib/apt/lists/*
# Copy data
COPY run.sh /
COPY hassio_gassistant.py /
COPY asoundrc /root/.asoundrc
RUN chmod a+x /run.sh
ENTRYPOINT [ "/run.sh" ]