feat: add audio processing helper functions and update Dockerfile

inspired by https://github.com/Laisky/one-api/pull/21
This commit is contained in:
Laisky.Cai
2025-01-08 02:35:38 +00:00
parent ddcd1295ff
commit c1a0471e73
4 changed files with 129 additions and 40 deletions

View File

@@ -33,7 +33,7 @@ RUN go build -trimpath -ldflags "-s -w -X 'github.com/songquanpeng/one-api/commo
FROM debian:bullseye
RUN apt-get update
RUN apt-get install -y --no-install-recommends ca-certificates haveged tzdata \
RUN apt-get install -y --no-install-recommends ca-certificates haveged tzdata ffmpeg \
&& update-ca-certificates 2>/dev/null || true \
&& rm -rf /var/lib/apt/lists/*