The Free Software Media System - Server Backend & API
Dockerfile: support for non-ASCII characters
ox0spye0fdf6fa0745
diff --git a/Dockerfile b/Dockerfileindex 01b3dd1c25..caac7500a5 100644--- a/Dockerfile+++ b/Dockerfile@@ -45,15 +45,20 @@ RUN apt-get update \ca-certificates \vainfo \i965-va-driver \+ locales \&& apt-get clean autoclean -y\&& apt-get autoremove -y\&& rm -rf /var/lib/apt/lists/* \&& mkdir -p /cache /config /media \&& chmod 777 /cache /config /media \&& ln -s /opt/ffmpeg/bin/ffmpeg /usr/local/bin \- && ln -s /opt/ffmpeg/bin/ffprobe /usr/local/bin+ && ln -s /opt/ffmpeg/bin/ffprobe /usr/local/bin \+ && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-genENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1+ENV LC_ALL en_US.UTF-8+ENV LANG en_US.UTF-8+ENV LANGUAGE en_US:enEXPOSE 8096VOLUME /cache /config /mediadiff --git a/Dockerfile.arm b/Dockerfile.armindex 4342808559..c5189d6aa3 100644--- a/Dockerfile.arm+++ b/Dockerfile.arm@@ -52,16 +52,22 @@ RUN apt-get update \libraspberrypi0 \vainfo \libva2 \+ locales \&& apt-get remove curl gnupg -y \&& apt-get clean autoclean -y \&& apt-get autoremove -y \&& rm -rf /var/lib/apt/lists/* \&& mkdir -p /cache /config /media \- && chmod 777 /cache /config /media+ && chmod 777 /cache /config /media \+ && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen+COPY --from=builder /jellyfin /jellyfinCOPY --from=web-builder /dist /jellyfin/jellyfin-webENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1+ENV LC_ALL en_US.UTF-8+ENV LANG en_US.UTF-8+ENV LANGUAGE en_US:enEXPOSE 8096VOLUME /cache /config /mediadiff --git a/Dockerfile.arm64 b/Dockerfile.arm64index 15421a8894..1a691b5727 100644--- a/Dockerfile.arm64+++ b/Dockerfile.arm64@@ -42,15 +42,21 @@ RUN apt-get update && apt-get install --no-install-recommends --no-install-suggelibfreetype6 \libomxil-bellagio0 \libomxil-bellagio-bin \+ locales \&& apt-get clean autoclean -y \&& apt-get autoremove -y \&& rm -rf /var/lib/apt/lists/* \&& mkdir -p /cache /config /media \- && chmod 777 /cache /config /media+ && chmod 777 /cache /config /media \+ && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen+COPY --from=builder /jellyfin /jellyfinCOPY --from=web-builder /dist /jellyfin/jellyfin-webENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1+ENV LC_ALL en_US.UTF-8+ENV LANG en_US.UTF-8+ENV LANGUAGE en_US:enEXPOSE 8096VOLUME /cache /config /media