Skip to content
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