fix: install jetbrainsmono nerd font for terminal icon rendering

This commit is contained in:
Harivansh Rathi 2026-04-10 15:46:02 +00:00
parent a41f1e408e
commit 7e270b110e
3 changed files with 8 additions and 1 deletions

View file

@ -95,6 +95,13 @@ RUN curl -fsSL -o /tmp/google-chrome-stable.deb \
&& rm -f /tmp/google-chrome-stable.deb /etc/apt/sources.list.d/google-chrome.list \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/share/fonts/truetype/jetbrains-mono \
&& curl -fsSL -o /tmp/jbmono.tar.xz \
https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/JetBrainsMono.tar.xz \
&& tar xf /tmp/jbmono.tar.xz -C /usr/share/fonts/truetype/jetbrains-mono \
&& fc-cache -f \
&& rm -f /tmp/jbmono.tar.xz
RUN useradd --create-home --shell /bin/bash node \
&& passwd -d node \
&& mkdir -p /home/node/.ssh \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 8.3 MiB

Before After
Before After

View file

@ -1,3 +1,3 @@
[Configuration]
FontName=DejaVu Sans Mono 11
FontName=JetBrainsMono Nerd Font 11
FontUseSystem=FALSE