Skip to content

cdalvaro/docker-nerd-fonts-patcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nerd Fonts Ubuntu Image Publish Workflow

Docker Image Size Architecture AMD64 Architecture ARM64

Dockerized Nerd Fonts Patcher v3.2.1

Dockerfile to build a Nerd Fonts Patcher image for the Docker opensource container platform.

Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons). Specifically to add a high number of extra glyphs from popular 'iconic fonts' such as Font Awesome ➶, Devicons ➶ and Octicons ➶.

Patch Your Own Font

Just copy all your fonts you want to patch into $(pwd)/in directory and execute the following command:

make patch

If you want to use additional options, you can use docker run to patch your fonts:

docker run --rm \
    --volume "$(pwd)/in":/input \
    --volume "$(pwd)/out":/output \
    --env PUID=$(id -u) --env PGID=$(id -g) \
    ghcr.io/cdalvaro/docker-nerd-fonts-patcher:latest \
    --quiet --no-progressbars --complete --careful

The container will patch all files with extensions: .otf, .ttf, .woff, .eot, .ttc inside $(pwd)/in and leave them into $(pwd)/out.

Environment variables PUID and PGID are used to set the user and group id of the files created by the container.

More information is available at the official documentation site.

Available Sources

This image can be downloaded from Dockerhub

docker pull cdalvaro/docker-nerd-fonts-patcher:latest

from Quay.io too.

docker pull quay.io/cdalvaro/docker-nerd-fonts-patcher

or from GitHub Container Registry too.

docker pull ghcr.io/cdalvaro/docker-nerd-fonts-patcher