Update Dockerfile to use supported version of alpine and Python

This commit is contained in:
dgswilkins 2021-05-14 19:41:17 -07:00
parent bc4416e176
commit 24a562c5fe

View file

@ -1,4 +1,4 @@
FROM alpine:3.11
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)." \
@ -6,8 +6,8 @@ LABEL org.opencontainers.image.title="Nerd Fonts Patcher" \
org.opencontainers.image.source="https://github.com/ryanoasis/nerd-fonts" \
org.opencontainers.image.licenses="MIT"
RUN apk add fontforge --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing && \
apk add --no-cache py2-pip && \
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)