nerd-fonts/Dockerfile
Ryan L McIntyre 57ac514d7a
Update Dockerfile
quick attempt to fix docker build failing
2021-12-16 19:51:57 -08:00

19 lines
758 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/releases && \
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" ]