Merge pull request #1571 from dataease/pr@dev@fix_chrome_lose_driver

fix: 定时任务截图报错
This commit is contained in:
fit2cloud-chenyw 2021-12-30 17:15:30 +08:00 committed by GitHub
commit 826122ff83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,10 @@ RUN echo -e 'http://mirrors.aliyun.com/alpine/edge/main/\nhttp://mirrors.aliyun.
RUN apk add chromium chromium-chromedriver fontconfig --no-cache --allow-untrusted
RUN mkdir -p /usr/local/sbin/ \
cp /usr/bin/chromedriver /usr/local/sbin/ \
chmod a+x chromedriver
ADD simsun.ttc /usr/share/fonts/
RUN cd /usr/share/fonts/ \