mirror of
https://github.com/astefanutti/decktape.git
synced 2024-11-29 23:13:11 +03:00
Upgrade Docker image to Chromium 71.0.3578.98-r2
This commit is contained in:
parent
a17af022c5
commit
3dfea7bd0c
15
Dockerfile
15
Dockerfile
@ -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/*
|
||||||
|
Loading…
Reference in New Issue
Block a user