Update Dockerfile to use latest alpine and py3-pip

This commit is contained in:
Catalin Marincia 2021-11-17 17:56:14 +02:00 committed by GitHub
parent b9e5b3a9a4
commit cb91d9a2c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM alpine:3.11
FROM alpine:3.14
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 update && apk upgrade && apk add fontforge --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing && \
apk add --no-cache py3-pip && \
pip install configparser
# sys.stdout.write encoding (py)