File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0
44# Update package list and upgrade all installed packages
55RUN apt-get update && apt-get upgrade -y
66
7- # Install required dependencies for DevExpress XAF Blazor and reporting
8- # Includes broad font support for Swedish, Finnish, Thai, and Windows compatibility
7+
8+ # Install all required dependencies (including locales) before cleaning apt cache
99RUN apt-get install -y \
1010 software-properties-common \
1111 libc6 \
@@ -21,10 +21,10 @@ RUN apt-get install -y \
2121 fonts-liberation \
2222 fonts-crosextra-carlito \
2323 fonts-crosextra-caladea \
24- fonts-noto-mono
25-
26- # Install locales package to enable locale settings
27- RUN apt-get install -y locales
24+ fonts-noto-mono \
25+ libfreetype6 \
26+ locales \
27+ && rm -rf /var/lib/apt/lists/*
2828
2929# Set environment variables for locale and timezone
3030ENV LOCALE=sv_SE.UTF-8
@@ -35,4 +35,6 @@ RUN locale-gen $LOCALE && \
3535 ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && \
3636 dpkg-reconfigure -f noninteractive tzdata
3737
38+ ENV LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libfreetype.so.6
39+
3840# NOTE: For runtime images, use the aspnet base image and repeat the relevant font and libgdiplus installation.
You can’t perform that action at this time.
0 commit comments