include noto cjk fonts in docker (#1492)

This commit is contained in:
Jason Dove
2023-11-05 06:15:57 -06:00
committed by GitHub
parent 8f5b181372
commit 22d3025e8e
6 changed files with 6 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Add QSV Capabilities to Troubleshooting page
- Add `language_tag` and `seconds` fields to search index
- Allow synchronizing Plex `TV Show` libraries that use `Personal Media Shows` agent
- Include Noto CJK Fonts in docker images to support those characters in generated subtitles like songs and music video credits
### Fixed
- Fix playout bug that caused some schedule items with fixed start times to be pushed to the next day
+1
View File
@@ -42,6 +42,7 @@ RUN dotnet publish ErsatzTV.csproj -c release -o /app -r linux-x64 --self-contai
# final stage/image
FROM jasongdove/ersatztv-ffmpeg:6.0 AS runtime-base
ENV FONTCONFIG_PATH=/etc/fonts
RUN apt-get update && apt-get install -y fonts-noto-cjk && apt-get clean
RUN fc-cache update
WORKDIR /app
EXPOSE 8409
+1
View File
@@ -6,6 +6,7 @@ RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu
tzdata \
fontconfig \
fonts-dejavu \
fonts-noto-cjk \
libgdiplus
# https://hub.docker.com/_/microsoft-dotnet
+1
View File
@@ -6,6 +6,7 @@ RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu
tzdata \
fontconfig \
fonts-dejavu \
fonts-noto-cjk \
libgdiplus
# https://hub.docker.com/_/microsoft-dotnet
+1
View File
@@ -42,6 +42,7 @@ RUN dotnet publish ErsatzTV.csproj --framework net7.0 -c release -o /app -r linu
# final stage/image
FROM jasongdove/ersatztv-ffmpeg:6.0-nvidia AS runtime-base
ENV FONTCONFIG_PATH=/etc/fonts
RUN apt-get update && apt-get install -y fonts-noto-cjk && apt-get clean
RUN fc-cache update
WORKDIR /app
EXPOSE 8409
+1
View File
@@ -42,6 +42,7 @@ RUN dotnet publish ErsatzTV.csproj -c release -o /app -r linux-x64 --self-contai
# final stage/image
FROM jasongdove/ersatztv-ffmpeg:6.0-vaapi AS runtime-base
ENV FONTCONFIG_PATH=/etc/fonts
RUN apt-get update && apt-get install -y fonts-noto-cjk && apt-get clean
RUN fc-cache update
WORKDIR /app
EXPOSE 8409