-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Franck Nijhof <[email protected]>
- Loading branch information
Showing
10 changed files
with
168 additions
and
124 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 |
---|---|---|
@@ -1,62 +1,74 @@ | ||
# Changelog | ||
|
||
## 1.1.2 | ||
|
||
- Revert restart nginx service on error | ||
|
||
## 1.1.1 | ||
|
||
- Fix issue with some Almond packages | ||
|
||
## 1.1.0 | ||
|
||
- Restart nginx service on error | ||
- Use Alpine 3.13 | ||
|
||
## 1.0.1 | ||
|
||
- Keep unzip dependency installed | ||
|
||
## 1.0.0 | ||
|
||
- Update Almond to 1.8.0 | ||
- Rewrite onto S6 overlay | ||
- Reduce add-on image size | ||
- Updates Supervisor API token and endpoint | ||
|
||
## 0.9 | ||
|
||
- Update Almond to 1.7.3 | ||
|
||
## 0.8 | ||
|
||
- Update Almond to 1.7.2 | ||
|
||
## 0.7 | ||
|
||
- Change startup type to Application | ||
|
||
## 0.6 | ||
|
||
- Fix issue with restart / Hass.io token handling | ||
|
||
## 0.5 | ||
|
||
- Update Almond to 1.7.1 | ||
|
||
## 0.4 | ||
|
||
- Update Almond to 1.7.0 | ||
|
||
## 0.3 | ||
|
||
- Add automatic Almond setup | ||
|
||
## 0.2 | ||
|
||
- Add Ingress | ||
- Update almond to 1.6.0 | ||
|
||
## 0.1 | ||
|
||
- Initial version | ||
# Changelog | ||
|
||
## 2.0.0 | ||
|
||
- Almond was updated to 2.0.0: this is a major release that | ||
brings significant changes to the supported skills. Additional | ||
details are in the release notes: https://wiki.almond.stanford.edu/en/release-planning/two-point-oh | ||
All users are encouraged to upgrade as soon as possible, because | ||
the previous release line is unmaintained and unsupported. Cloud | ||
services that Almond relies on might drop compatibility with | ||
Almond 1.* at some point in the future. | ||
- Voice support is now included in this addon, and the Ada add-on | ||
is not required (in fact, it should not be enabled at the same time). | ||
|
||
## 1.1.2 | ||
|
||
- Revert restart nginx service on error | ||
|
||
## 1.1.1 | ||
|
||
- Fix issue with some Almond packages | ||
|
||
## 1.1.0 | ||
|
||
- Restart nginx service on error | ||
- Use Alpine 3.13 | ||
|
||
## 1.0.1 | ||
|
||
- Keep unzip dependency installed | ||
|
||
## 1.0.0 | ||
|
||
- Update Almond to 1.8.0 | ||
- Rewrite onto S6 overlay | ||
- Reduce add-on image size | ||
- Updates Supervisor API token and endpoint | ||
|
||
## 0.9 | ||
|
||
- Update Almond to 1.7.3 | ||
|
||
## 0.8 | ||
|
||
- Update Almond to 1.7.2 | ||
|
||
## 0.7 | ||
|
||
- Change startup type to Application | ||
|
||
## 0.6 | ||
|
||
- Fix issue with restart / Hass.io token handling | ||
|
||
## 0.5 | ||
|
||
- Update Almond to 1.7.1 | ||
|
||
## 0.4 | ||
|
||
- Update Almond to 1.7.0 | ||
|
||
## 0.3 | ||
|
||
- Add automatic Almond setup | ||
|
||
## 0.2 | ||
|
||
- Add Ingress | ||
- Update almond to 1.6.0 | ||
|
||
## 0.1 | ||
|
||
- Initial version |
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
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 |
---|---|---|
|
@@ -5,50 +5,73 @@ FROM ${BUILD_FROM} | |
ENV \ | ||
LANG="en_US.utf8" \ | ||
THINGENGINE_HOME="/data/almond-server" \ | ||
THINGENGINE_HOST_BASED_AUTHENTICATION="local-ip" | ||
THINGENGINE_HAS_REVERSE_PROXY=true \ | ||
THINGENGINE_HOST_BASED_AUTHENTICATION=insecure \ | ||
THINGENGINE_IN_HOME_ASSISTANT_ADDON=true | ||
|
||
WORKDIR /opt/almond | ||
ARG ALMOND_VERSION | ||
|
||
RUN \ | ||
set -x \ | ||
&& apk add --no-cache \ | ||
nodejs \ | ||
npm \ | ||
yarn \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
libcanberra-dev \ | ||
libcanberra0 \ | ||
libpulse-dev \ | ||
libatlas-base-dev \ | ||
libatlas3-base \ | ||
pkg-config \ | ||
ca-certificates \ | ||
git \ | ||
gnupg \ | ||
nginx \ | ||
python-dev \ | ||
software-properties-common \ | ||
unzip \ | ||
blas \ | ||
sqlite \ | ||
coreutils \ | ||
&& apk add --no-cache --virtual .build-dependencies \ | ||
build-base \ | ||
blas-dev \ | ||
git \ | ||
linux-headers \ | ||
sqlite-dev \ | ||
pkgconf \ | ||
python3 \ | ||
pulseaudio \ | ||
pulseaudio-utils \ | ||
gettext \ | ||
zip \ | ||
wget \ | ||
gstreamer1.0-plugins-base-apps \ | ||
gstreamer1.0-plugins-good \ | ||
gstreamer1.0-pulseaudio \ | ||
\ | ||
&& npm config set unsafe-perm \ | ||
&& ln -s /usr/bin/python3 /usr/bin/python \ | ||
&& curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key \ | ||
| apt-key add - \ | ||
&& echo "deb https://deb.nodesource.com/node_12.x buster main" \ | ||
> /etc/apt/sources.list.d/nodesource.list \ | ||
\ | ||
&& git clone -b "${ALMOND_VERSION}" --depth 1 \ | ||
"https://github.com/stanford-oval/almond-server" . \ | ||
&& rm -fr .git \ | ||
&& yarn \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
nodejs \ | ||
\ | ||
&& npm config set unsafe-perm \ | ||
\ | ||
&& yarn global add modclean \ | ||
&& modclean \ | ||
--path /opt/almond \ | ||
--no-progress \ | ||
--keep-empty \ | ||
--run \ | ||
&& yarn global remove modclean \ | ||
&& git clone -b "${ALMOND_VERSION}" --depth 1 https://github.com/stanford-oval/almond-server . \ | ||
&& npm ci \ | ||
&& npm install --no-package-lock --ignore-scripts [email protected] \ | ||
&& cd node_modules/snowboy/ \ | ||
&& PYTHON=python2 npx node-pre-gyp clean configure \ | ||
&& make -C build/ \ | ||
&& rm -fr /root/.cache \ | ||
&& rm -fr /root/.npm \ | ||
&& mkdir /root/.cache \ | ||
\ | ||
&& yarn cache clean \ | ||
&& apk del --no-cache \ | ||
.build-dependencies \ | ||
&& apt-get purge -y --auto-remove \ | ||
build-essential \ | ||
libcanberra-dev \ | ||
libpulse-dev \ | ||
libatlas-base-dev \ | ||
pkg-config \ | ||
git \ | ||
gnupg \ | ||
python-dev \ | ||
software-properties-common \ | ||
\ | ||
&& rm -rf \ | ||
/opt/almond/.[!.]* \ | ||
|
@@ -57,6 +80,9 @@ RUN \ | |
/tmp/.[!.]* \ | ||
/tmp/* \ | ||
/usr/local/share/.cache \ | ||
/usr/local/share/.config | ||
/usr/local/share/.config \ | ||
/usr/lib/nginx \ | ||
/var/lib/apt/lists/* \ | ||
/var/www | ||
|
||
COPY rootfs / |
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
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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
{ | ||
"build_from": { | ||
"aarch64": "homeassistant/aarch64-base:3.13", | ||
"amd64": "homeassistant/amd64-base:3.13", | ||
"i386": "homeassistant/i386-base:3.13", | ||
"armv7": "homeassistant/armv7-base:3.13", | ||
"armhf": "homeassistant/armhf-base:3.13" | ||
"aarch64": "homeassistant/aarch64-base-debian:buster", | ||
"amd64": "homeassistant/amd64-base-debian:buster", | ||
"armv7": "homeassistant/armv7-base-debian:buster" | ||
}, | ||
"args": { | ||
"ALMOND_VERSION": "v1.8.0" | ||
"ALMOND_VERSION": "v2.0.1" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,17 +1,16 @@ | ||
{ | ||
"name": "Almond", | ||
"version": "1.1.2", | ||
"version": "2.0.0", | ||
"slug": "almond", | ||
"description": "The home server version of Almond", | ||
"description": "The open-source, privacy-preserving voice assistant", | ||
"url": "https://github.com/home-assistant/hassio-addons/blob/master/almond", | ||
"arch": ["armv7", "armhf", "aarch64", "amd64", "i386"], | ||
"arch": ["armv7", "aarch64", "amd64"], | ||
"init": false, | ||
"discovery": ["almond"], | ||
"ingress": true, | ||
"audio": true, | ||
"panel_icon": "mdi:comment-eye-outline", | ||
"homeassistant": "0.102.0", | ||
"homeassistant_api": true, | ||
"options": {}, | ||
"schema": {}, | ||
"image": "homeassistant/{arch}-addon-almond" | ||
} |
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,7 @@ | ||
{ | ||
"server-login": { | ||
"password":"x", | ||
"salt":"x", | ||
"sqliteKeySalt":"x" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
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