mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-11-19 16:39:20 +02:00
9514cbc509
[why] The docker image can not start fontforge: Error relocating /usr/bin/fontforge: FindProgRoot: symbol not found [how] The problem might be that we base on the 'latest' Alpine container, but install a edge fontforge. If I see this correct: https://hub.docker.com/_/alpine/tags 'latest' is the same as latest-stable. Probably we should use a matching apk repo. Fixes: #1042 (maybe, need to push to test) Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
19 lines
726 B
Docker
19 lines
726 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 && \
|
|
apk add --no-cache py3-pip && \
|
|
pip install configparser
|
|
|
|
ENV PYTHONIOENCODING=utf-8
|
|
|
|
VOLUME /in /out
|
|
COPY . /nerd
|
|
|
|
ENTRYPOINT [ "/bin/sh", "/nerd/bin/scripts/docker-entrypoint.sh" ]
|