diff --git a/Dockerfile b/Dockerfile index 70dec5f209..e2140e2f0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,16 @@ FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre 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/dataease/data/feature/full diff --git a/chromedriver b/chromedriver new file mode 100755 index 0000000000..0044762189 Binary files /dev/null and b/chromedriver differ