Skip to content

Commit

Permalink
Restore fonts to Docker image (#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Dec 5, 2023
1 parent 39dd6a1 commit 62701ba
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions TeachingRecordSystem/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,14 @@ RUN apk add --no-cache \
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false

# Install Postgres client
RUN apk add postgresql14-client
RUN apk --no-cache add postgresql14-client

# Fix for invoking trscli
RUN apk add libc6-compat
RUN apk --no-cache add libc6-compat

# Install fonts for PDF generation
RUN apk --no-cache add msttcorefonts-installer fontconfig && \
update-ms-fonts && \
fc-cache -f

ENV PATH="${PATH}:/Apps/TrsCli"

0 comments on commit 62701ba

Please sign in to comment.