2021-12-17 05:51:57 +02:00
|
|
|
FROM alpine:latest
|
2020-03-05 19:40:18 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
|
2022-08-18 12:23:18 +02:00
|
|
|
RUN apk update && apk upgrade && apk add --no-cache fontforge --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community && \
|
2021-11-17 17:56:14 +02:00
|
|
|
apk add --no-cache py3-pip && \
|
2020-03-05 19:40:18 +02:00
|
|
|
pip install configparser
|
|
|
|
|
|
|
|
ENV PYTHONIOENCODING=utf-8
|
|
|
|
|
|
|
|
VOLUME /in /out
|
|
|
|
COPY . /nerd
|
|
|
|
|
2021-12-17 05:51:57 +02:00
|
|
|
ENTRYPOINT [ "/bin/sh", "/nerd/bin/scripts/docker-entrypoint.sh" ]
|