Skip to content

Instantly share code, notes, and snippets.

@uzysjung
Last active September 24, 2023 18:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save uzysjung/086b0342575f4d27bc7f to your computer and use it in GitHub Desktop.
Save uzysjung/086b0342575f4d27bc7f to your computer and use it in GitHub Desktop.
add custom font to Amazon linux
container_commands:
01_download_nanum_font:
command: wget http://static.campaign.naver.com/0/hangeul/renew/download/NanumFont_TTF.zip
02_unzip_font:
command: unzip Nanum*.zip
03_creat_fontdir:
command: mkdir -p /usr/share/fonts/nanumfont
04_mv_font:
command: mv *.ttf /usr/share/fonts/nanumfont
05_add_font_cache:
command: fc-cache -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment