feat: 增加chromium镜像

This commit is contained in:
fit2cloud-chenyw 2021-11-24 11:01:55 +08:00
parent ee4fe0cb7f
commit 0e6cc7c017
2 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,16 @@ FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre
ARG IMAGE_TAG ARG IMAGE_TAG
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk add chromium=77.0.3865.120-r0 --no-cache
RUN apk add chromium-chromedriver=77.0.3865.120-r0 --no-cache
RUN mkdir -p /usr/local/sbin/
ADD chromedriver /usr/local/sbin/
RUN mkdir -p /opt/apps RUN mkdir -p /opt/apps
RUN mkdir -p /opt/dataease/data/feature/full RUN mkdir -p /opt/dataease/data/feature/full

BIN
chromedriver Executable file

Binary file not shown.