forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added gaction script to support the new Google Assistant component in…
… Docker (home-assistant#10019) * added gactions install script * added gaction setup step * added ability to not install gaction * updated dev docker file
- Loading branch information
1 parent
089e1ab
commit 796a3ff
Showing
4 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ MAINTAINER Paulus Schoutsen <[email protected]> | |
#ENV INSTALL_LIBCEC no | ||
#ENV INSTALL_PHANTOMJS no | ||
#ENV INSTALL_SSOCR no | ||
#ENV INSTALL_GACTION no | ||
|
||
VOLUME /config | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ MAINTAINER Paulus Schoutsen <[email protected]> | |
#ENV INSTALL_PHANTOMJS no | ||
#ENV INSTALL_COAP no | ||
#ENV INSTALL_SSOCR no | ||
#ENV INSTALL_GACTION no | ||
|
||
VOLUME /config | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
# Sets up gactions for the google_assistant component. | ||
|
||
# Stop on errors | ||
set -e | ||
|
||
curl -LSO https://dl.google.com/gactions/updates/bin/linux/amd64/gactions/gactions | ||
mv gactions /usr/bin/gactions | ||
chmod +x /usr/bin/gactions | ||
/usr/bin/gactions -V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters