File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -17,23 +17,12 @@ RUN \
1717 apt-get install -y --no-install-recommends \
1818 python3-venv && \
1919 if [ -z ${PIPER_VERSION+x} ]; then \
20- PIPER_VERSION=$(curl -sL "https://api.github.com/repos/rhasspy/wyoming-piper/commits/master" \
21- | jq -r .sha); \
20+ PIPER_VERSION=$(curl -sL https://pypi.python.org/pypi/wyoming-piper/json |jq -r '. | .info.version' ); \
2221 fi && \
23- mkdir -p /tmp/piper-build && \
24- curl -sL -o \
25- /tmp/piper.tar.gz -L \
26- "https://github.com/rhasspy/wyoming-piper/archive/${PIPER_VERSION}.tar.gz" && \
27- tar xzf \
28- /tmp/piper.tar.gz -C \
29- /tmp/piper-build --strip-components=1 && \
30- cd /tmp/piper-build && \
3122 python3 -m venv /lsiopy && \
3223 pip install -U --no-cache-dir \
3324 pip \
3425 wheel && \
35- pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ . && \
36- pip uninstall -y onnxruntime && \
3726 pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ \
3827 nvidia-cublas-cu12 \
3928 nvidia-cuda-nvrtc-cu12 \
@@ -42,11 +31,10 @@ RUN \
4231 nvidia-cufft-cu12 \
4332 nvidia-curand-cu12 \
4433 onnxruntime-gpu \
45- piper-tts && \
34+ piper-tts \
35+ "wyoming-piper==${PIPER_VERSION}" && \
4636 printf "Linuxserver.io version: ${VERSION}\n Build-date: ${BUILD_DATE}" > /build_version && \
4737 echo "**** cleanup ****" && \
48- apt-get autoremove -y && \
49- apt-get clean -y && \
5038 rm -rf \
5139 /var/lib/apt/lists/* \
5240 /tmp/*
You can’t perform that action at this time.
0 commit comments