Nerd Font Patcher for Docker
Docker scripts to execute Nerd Fonts Patcher in a containerized environent with the help of the nerd fonts patch official image.
I have used the patcher on bare metal linux, but this is primarily to simplify the usage of nerd fonts in my workflow, regardless of Operating System, as well as to test out my docker(-compose) scripting in an attempt to containerize everything.
thanks to [https://github.com/ryanoasis] and the nerd fonts team for the ability to patch our own fonts into Nerd Fonts on top of providing fantastic font icon packs for ricing.
- The docker-compose file is created via referencing and translating the docker run command found in the Nerd Fonts repository.
- If you would like to run this via a manual run, or to learn more about the Nerd Fonts project, please refer to the Nerd Fonts README page
- Base Distribution : nerdfonts/patcher
- Container Default Name : "nerd-font-patcher"
- Default Filesystem Structure:
./ | |-- fonts/ | |-- in/ |-- out/
- Create 2 folders in the path specified in your docker-compose volume mounts (default: your current working directory)
- input fonts folder for '/in'
- output fonts folder for '/out'
- docker
- docker-compose
- To add a parameter to the command
- Edit the docker-compose file
- Add your parameter to the 'command' key
... command: [your-parameter] ...
- Add your parameter to the 'command' key
- Edit the docker-compose file
- Starting up the docker-compose environment
docker-compose up -d
- Checking status of the patching
docker-compose ps
- Check current logs of the patch
docker logs [container-name]
- input folder : This is where you place the original font before you startup the docker environment.
- output folder : This is where the converted/patched font will be placed after the docker environment has finished executing the patcher.
- This is basically the structure of the docker operation
- In Host system
- Input ('/in') folder
path/ |
- Output ('/out') folder
path/ |
- Input ('/in') folder
- In Host system
- [] Make my own dockerfile to install and setup nerd fonts for use, just entirely for fun because why not