Skip to content

Commit

Permalink
Update wyoming-porcupine1 to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Jan 23, 2024
1 parent 3b4f809 commit 108b6de
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions porcupine1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.1.0

- Add tests and Github actions
- Add `--log-format` argument
- Add `--version` argument

## 1.0.1

- Use wyoming-porcupine1 package
Expand Down
11 changes: 6 additions & 5 deletions porcupine1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@ ARG TARGETVARIANT

# Install porcupine1
WORKDIR /usr/src
ENV WYOMING_PORCUPINE1_VERSION=1.0.1
ENV PIP_BREAK_SYSTEM_PACKAGES=1
ENV WYOMING_PORCUPINE1_VERSION=1.1.0

RUN \
apt-get update \
&& apt-get install -y --no-install-recommends \
python3 \
python3-pip \
python3-venv \
\
&& pip3 install --no-cache-dir -U \
&& python3 -m venv .venv \
&& .venv/bin/pip3 install --no-cache-dir -U \
setuptools \
wheel \
&& pip3 install --no-cache-dir \
&& .venv/bin/pip3 install --no-cache-dir \
--extra-index-url https://www.piwheels.org/simple \
"wyoming-porcupine1==${WYOMING_PORCUPINE1_VERSION}" \
"wyoming-porcupine1 @ https://github.com/rhasspy/wyoming-porcupine1/archive/refs/tags/v${WYOMING_PORCUPINE1_VERSION}.tar.gz" \
\
&& rm -rf /var/lib/apt/lists/*

Expand Down
3 changes: 2 additions & 1 deletion porcupine1/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
python3 -m wyoming_porcupine1 \
cd /usr/src
.venv/bin/python3 -m wyoming_porcupine1 \
--uri 'tcp://0.0.0.0:10400' "$@"

0 comments on commit 108b6de

Please sign in to comment.