1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-25 20:18:01 +02:00
nerd-fonts/Dockerfile
Fini Jastrow 1a3b100231 docker: Remove manual configparser install
[why]
Installing via pip is not a good solution as this might conflict with
system-installed python packages.

[how]
It's installed already anyhow...
This must be a leftover from ancient times.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-12-18 17:21:30 +01:00

17 lines
656 B
Docker

FROM alpine:latest
LABEL org.opencontainers.image.title="Nerd Fonts Patcher" \
org.opencontainers.image.description="Patches developer targeted fonts with a high number of glyphs (icons)." \
org.opencontainers.image.url="https://www.nerdfonts.com/" \
org.opencontainers.image.source="https://github.com/ryanoasis/nerd-fonts" \
org.opencontainers.image.licenses="MIT"
RUN apk update && apk upgrade && apk add --no-cache fontforge --repository=https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
ENV PYTHONIOENCODING=utf-8
VOLUME /in /out
COPY . /nerd
ENTRYPOINT [ "/bin/sh", "/nerd/bin/scripts/docker-entrypoint.sh" ]