File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,7 @@ RUN curl -L "https://github.com/gabime/spdlog/archive/refs/tags/v${SPDLOG_VERSIO
24
24
25
25
RUN mkdir -p "lib/Linux-$(uname -m)"
26
26
27
- ARG ONNXRUNTIME_VERSION='1.14.1'
28
- RUN if [ "${TARGETARCH}${TARGETVARIANT}" = 'amd64' ]; then \
29
- ONNXRUNTIME_ARCH='x64' ; \
30
- else \
31
- ONNXRUNTIME_ARCH="$(uname -m)" ; \
32
- fi && \
33
- curl -L "https://github.com/microsoft/onnxruntime/releases/download/v${ONNXRUNTIME_VERSION}/onnxruntime-linux-${ONNXRUNTIME_ARCH}-${ONNXRUNTIME_VERSION}.tgz" | \
34
- tar -C "lib/Linux-$(uname -m)" -xzvf - && \
35
- mv "lib/Linux-$(uname -m)" /onnxruntime-* \
36
- "lib/Linux-$(uname -m)/onnxruntime"
37
-
27
+ # Use pre-compiled Piper phonemization library (includes onnxruntime)
38
28
ARG PIPER_PHONEMIZE_VERSION='1.0.0'
39
29
RUN mkdir -p "lib/Linux-$(uname -m)/piper_phonemize" && \
40
30
curl -L "https://github.com/rhasspy/piper-phonemize/releases/download/v${PIPER_PHONEMIZE_VERSION}/libpiper_phonemize-${TARGETARCH}${TARGETVARIANT}.tar.gz" | \
You can’t perform that action at this time.
0 commit comments