Upgrade Docker image to Chromium 71.0.3578.98-r2

This commit is contained in:
Antonin Stefanutti 2019-01-03 21:49:21 +01:00
parent a17af022c5
commit 3dfea7bd0c
No known key found for this signature in database
GPG Key ID: 451D46E2047E7837

View File

@ -24,11 +24,18 @@ FROM alpine:3.8
ENV TERM xterm-color ENV TERM xterm-color
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
# Chromium # Chromium, CA certificates, fonts
# https://git.alpinelinux.org/cgit/aports/log/community/chromium # https://git.alpinelinux.org/cgit/aports/log/community/chromium
RUN apk add --no-cache ca-certificates ttf-freefont && \ RUN apk update && apk upgrade && \
apk add --no-cache chromium --repository http://dl-cdn.alpinelinux.org/alpine/edge/community && \ echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && \
apk add --no-cache wqy-zenhei --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing && \ echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && \
echo @edge http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk add --no-cache \
ca-certificates \
ttf-freefont \
chromium@edge \
harfbuzz@edge \
wqy-zenhei@edge && \
# /etc/fonts/conf.d/44-wqy-zenhei.conf overrides 'monospace' matching FreeMono.ttf in /etc/fonts/conf.d/69-unifont.conf # /etc/fonts/conf.d/44-wqy-zenhei.conf overrides 'monospace' matching FreeMono.ttf in /etc/fonts/conf.d/69-unifont.conf
mv /etc/fonts/conf.d/44-wqy-zenhei.conf /etc/fonts/conf.d/74-wqy-zenhei.conf && \ mv /etc/fonts/conf.d/44-wqy-zenhei.conf /etc/fonts/conf.d/74-wqy-zenhei.conf && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*