Iosevka Docker Save

Docker containers to build custom (or upstream) versions of the Iosevka typeface and package them for Debian

Project README

iosevka-docker

Docker Pulls

Docker containers to build your own (or standard) version of the Iosevka typeface without worrying about dependencies and build environments.

Quickstart

Linux:

docker run -it -v $(pwd):/build avivace/iosevka-build

Windows (Command Prompt)

docker run -it -v %cd%:/build avivace/iosevka-build

Windows (PowerShell)

docker run -it -v ${PWD}:/build avivace/iosevka-build

For the rest of this document, replace $(pwd) with either %cd% or ${PWD} based on your environment

Will build the latest released version of Iosevka with the default configuration.

Your built font files will be available in the dist/ folder.

Custom build configuration

To customize your build, just launch the docker command from the directory where your private-build-plans.toml is placed.

You can prepare your configuration following the Customized Build documentation or use the Iosevka Build Customizer.

Be aware of the breaking changes introduced with 4.0.0 i.e. configurations working with 3.7.1 are not guaranteed to work with 4.0.0.

Version

To specify a version to build, just add -e FONT_VERSION= to the Docker command. E.g. to build version 3.7.1:

docker run -e FONT_VERSION=3.7.1 -it -v $(pwd):/build avivace/iosevka-build

Releases can be found here. Only font versions 3.0.0 or higher are supported.

Build arguments

You can pass any of the optional build options described in Customized Build.

docker run -it -v $(pwd):/build avivace/iosevka-build [optional build args]

E.g. to only build TTF files:

docker run -it -v $(pwd):/build avivace/iosevka-build ttf::iosevka-custom

Build the Docker image yourself

  1. Be sure to have Docker installed. Clone this repository.
git clone https://github.com/avivace/fonts-iosevka.git
  1. If you want, replace the provided private-build-plans.toml file with yours.

  2. Build and run the Docker container

# Build the container
docker build -t iosevka_build . -f Dockerfile

# Launch the build on Iosevka git tag 3.7.1, using the build folder on the host
docker run -e FONT_VERSION=3.7.1 -it -v $(pwd)/build:/build iosevka_build
  1. Done! Your built font files are available in the dist folder.

Install

Copy the generated folders in ~/.local/share/fonts and run fc-cache.

cp -r build/dist/* ~/.local/share/fonts/
fc-cache

Debian packaging

TODO

Open Source Agenda is not affiliated with "Iosevka Docker" Project. README Source: avivace/iosevka-docker

Open Source Agenda Badge

Open Source Agenda Rating