提交 05ac9999 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

refactor: 基础景象

上级 d7519a93
......@@ -2,18 +2,18 @@ FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre:
RUN echo -e 'http://mirrors.aliyun.com/alpine/edge/main/\nhttp://mirrors.aliyun.com/alpine/edge/community/' > /etc/apk/repositories
RUN apk add chromium chromium-chromedriver fontconfig --no-cache --allow-untrusted
#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 /usr/local/sbin/chromedriver
#RUN mkdir -p /usr/local/sbin/ \
# && cp /usr/bin/chromedriver /usr/local/sbin/ \
# && chmod a+x /usr/local/sbin/chromedriver
ADD simsun.ttc /usr/share/fonts/
RUN cd /usr/share/fonts/ \
&& mkfontscale \
&& mkfontdir \
&& fc-cache -fv
#RUN cd /usr/share/fonts/ \
# && mkfontscale \
# && mkfontdir \
# && fc-cache -fv
ARG IMAGE_TAG
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论