Skip to content

Commit 0c1cc0d

Browse files
committed
Update upstream piper package install
1 parent 13678b9 commit 0c1cc0d

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,12 @@ RUN \
2424
pip \
2525
wheel && \
2626
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ \
27+
piper-tts \
2728
"wyoming-piper==${PIPER_VERSION}" && \
2829
if [ -z ${PIPER_BIN_VERSION+x} ]; then \
29-
PIPER_BIN_VERSION=$(curl -sL "https://api.github.com/repos/rhasspy/piper/releases/latest" \
30+
PIPER_BIN_VERSION=$(curl -sL "https://api.github.com/repos/OHF-Voice/piper1-gpl/releases/latest" \
3031
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
3132
fi && \
32-
curl -sL -o \
33-
/tmp/piper.tar.gz -L \
34-
"https://github.com/rhasspy/piper/releases/download/${PIPER_BIN_VERSION}/piper_linux_x86_64.tar.gz" && \
35-
tar xzf \
36-
/tmp/piper.tar.gz -C \
37-
/usr/share && \
3833
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3934
echo "**** cleanup ****" && \
4035
rm -rf \

Dockerfile.aarch64

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,12 @@ RUN \
2424
pip \
2525
wheel && \
2626
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ \
27+
piper-tts \
2728
"wyoming-piper==${PIPER_VERSION}" && \
2829
if [ -z ${PIPER_BIN_VERSION+x} ]; then \
29-
PIPER_BIN_VERSION=$(curl -sL "https://api.github.com/repos/rhasspy/piper/releases/latest" \
30+
PIPER_BIN_VERSION=$(curl -sL "https://api.github.com/repos/OHF-Voice/piper1-gpl/releases/latest" \
3031
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
3132
fi && \
32-
curl -sL -o \
33-
/tmp/piper.tar.gz -L \
34-
"https://github.com/rhasspy/piper/releases/download/${PIPER_BIN_VERSION}/piper_linux_aarch64.tar.gz" && \
35-
tar xzf \
36-
/tmp/piper.tar.gz -C \
37-
/usr/share && \
3833
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3934
echo "**** cleanup ****" && \
4035
rm -rf \

root/etc/s6-overlay/s6-rc.d/svc-piper/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
exec \
1111
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 10200" \
1212
s6-setuidgid abc python3 -m wyoming_piper \
13-
--piper '/usr/share/piper/piper' \
13+
--piper '/lsiopy/bin/piper' \
1414
--uri 'tcp://0.0.0.0:10200' \
1515
--length-scale "${PIPER_LENGTH:-1.0}" \
1616
--noise-scale "${PIPER_NOISE:-0.667}" \

0 commit comments

Comments
 (0)