Update Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
CHANGED
@@ -25,6 +25,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
25 |
zlib1g-dev \
|
26 |
&& rm -rf /var/lib/apt/lists/*
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
# 安装 OpenJTalk
|
29 |
RUN mkdir -p /tmp/open_jtalk && \
|
30 |
cd /tmp/open_jtalk && \
|
|
|
25 |
zlib1g-dev \
|
26 |
&& rm -rf /var/lib/apt/lists/*
|
27 |
|
28 |
+
# 安装 HTS_engine_API
|
29 |
+
RUN mkdir -p /tmp/hts_engine_API && \
|
30 |
+
cd /tmp/hts_engine_API && \
|
31 |
+
wget -O hts_engine_API.tar.gz "https://sourceforge.net/projects/hts-engine/files/hts_engine%20API/hts_engine_API-1.10/hts_engine_API-1.10.tar.gz/download" && \
|
32 |
+
tar xzf hts_engine_API.tar.gz && \
|
33 |
+
cd hts_engine_API-1.10 && \
|
34 |
+
./configure && \
|
35 |
+
make && \
|
36 |
+
make install
|
37 |
+
|
38 |
# 安装 OpenJTalk
|
39 |
RUN mkdir -p /tmp/open_jtalk && \
|
40 |
cd /tmp/open_jtalk && \
|