mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-13 17:18:37 +02:00
20 lines
716 B
Docker
20 lines
716 B
Docker
FROM alpine:edge
|
|
|
|
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 add --no-cache fontforge --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing && \
|
|
apk add --no-cache py3-pip && \
|
|
pip install configparser
|
|
|
|
# sys.stdout.write encoding (py)
|
|
ENV PYTHONIOENCODING=utf-8
|
|
|
|
VOLUME /in /out
|
|
COPY . /nerd
|
|
|
|
ENTRYPOINT [ "/bin/sh", "/nerd/bin/scripts/docker-entrypoint.sh" ]
|