Skip to content

WIP: Installing freetype libs as they are not bundled as part of build #518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dockerfile_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ print_lang_locale() {
print_ubuntu_pkg() {
cat >> "$1" <<'EOI'
RUN apt-get update \
&& apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales \
&& apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales libfreetype6 fonts-dejavu \
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.UTF-8 \
&& rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -263,7 +263,7 @@ EOI
# Select the CentOS packages.
print_centos_pkg() {
cat >> "$1" <<'EOI'
RUN yum install -y tzdata openssl curl ca-certificates fontconfig gzip tar \
RUN yum install -y tzdata openssl curl ca-certificates fontconfig gzip tar freetype dejavu-sans-fonts \
&& yum update -y; yum clean all
EOI
}
Expand Down