Merge pull request #1260 from dataease/pr@dev@feat_chrome_driver_image

feat: 增加chromium镜像
This commit is contained in:
fit2cloud-chenyw 2021-11-24 11:02:57 +08:00 committed by GitHub
commit 9387770fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
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

BIN
chromedriver Executable file

Binary file not shown.