Skip to content

Commit

Permalink
fix: FontConfiguration exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
hcnp committed Jun 7, 2024
1 parent eac9633 commit 09faca0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ ARG IG_PUB_VERSION=1.6.10

# https://github.com/nodesource/distributions?tab=readme-ov-file#debian-versions
# hadolint ignore=DL3008,DL3028,DL3016
RUN apt-get update \
RUN sed -i 's/^Components: main$/& contrib/' /etc/apt/sources.list.d/debian.sources \
&& apt-get update \
&& apt-get install --yes --no-install-recommends \
build-essential \
jq \
Expand All @@ -25,6 +26,10 @@ RUN apt-get update \
ruby \
ruby-dev \
libfreetype6 \
# Fixes Spring Boot FontConfiguration exceptions - https://coderanch.com/t/761996/frameworks/Docker-Spring-boot-giving-sun
ttf-mscorefonts-installer \
fontconfig \
&& fc-cache -f -v \
\
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install --yes --no-install-recommends nodejs \
Expand Down

0 comments on commit 09faca0

Please sign in to comment.