Skip to content

Commit 9a97b65

Browse files
authored
Add Noto Mono to browser images (#346)
## Summary Add the `fonts-noto-mono` package to both headful and headless browser images. The existing font-cache build step picks it up during image construction. This fills a Linux font-family gap that fingerprint consistency checks can identify even when the rest of the browser fingerprint is coherent. ## Testing - `docker run --rm ubuntu:22.04 ... apt-get install fonts-noto-mono ... fc-match "Noto Mono"` → `NotoMono-Regular.ttf: "Noto Mono" "Regular"` - `cd server && GOCACHE=/tmp/kernel-images-go-cache GOMODCACHE=/tmp/kernel-images-go-mod make test-unit` - validated the same package in a running browser image; rebuilding the font cache changed the fingerprint verdict from masking detected to no masking detected <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Adds a standard apt font package to Docker images with no auth, runtime, or data-handling changes. Image rebuilds will include a slightly larger font set. > > **Overview** > Installs `fonts-noto-mono` in both headful and headless Chromium images so the font cache includes Noto Mono. > > This closes a Linux font-family gap that fingerprint consistency checks can flag even when the rest of the browser fingerprint looks coherent. Existing `fc-cache` steps pick the package up at image build time. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit e669afa. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 119ae8c commit 9a97b65

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

images/chromium-headful/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ RUN apt-get update && \
213213
fonts-noto-cjk \
214214
fonts-noto-color-emoji \
215215
fonts-noto-core \
216+
fonts-noto-mono \
216217
fonts-nanum \
217218
fonts-dejavu-core \
218219
fonts-dejavu-extra \

images/chromium-headless/image/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=$CACHEIDPREFIX-ap
158158
fontconfig \
159159
fonts-noto-cjk \
160160
fonts-noto-color-emoji \
161+
fonts-noto-mono \
161162
fonts-nanum \
162163
supervisor; \
163164
fc-cache -f

0 commit comments

Comments
 (0)