File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ RUN set -x \
3333 unzip \
3434 && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* `npm config get cache`/_npx
3535
36- # Install fonts
37- RUN set -x \
38- && apt-get update -qq \
39- && apt-get upgrade -yqq \
40- # install all Noto fonts
41- && apt-get install -y fonts-noto \
42- && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
36+ # Render glyphs that no other font covers as visible tofu boxes, not blank.
37+ # The license sits where apt-installed fonts keep theirs.
38+ RUN curl -fsSL -o /usr/local/share/fonts/AND-Regular.otf \
39+ https://raw.githubusercontent.com/adobe-fonts/adobe-notdef/1.001/AND-Regular.otf \
40+ && mkdir -p /usr/share/doc/adobe-notdef \
41+ && curl -fsSL -o /usr/share/doc/adobe-notdef/LICENSE.md \
42+ https://raw.githubusercontent.com/adobe-fonts/adobe-notdef/1.001/LICENSE.md
4343
4444# Install Node.js
4545RUN set -x \
@@ -64,9 +64,6 @@ RUN set -x \
6464 && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
6565 fi
6666
67- # Font aliases for Noto CJK fonts
68- COPY build/fonts.conf /etc/fonts/local.conf
69-
7067RUN set -x \
7168 && mkdir -p /opt \
7269 && mkdir -p /data \
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments