This commit is contained in:
2022-12-06 13:15:58 +08:00
parent 17339d3259
commit a0849e40ef
52 changed files with 463 additions and 43 deletions

12
chromedriver/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
ARG ARCH
FROM harbor.colben.cn/general/centos$ARCH:7
MAINTAINER Colben colbenlee@gmail.com
ARG ROOT
ADD --chown=root:root /ADD/ccmd /ADD/chromedriver /ADD/google-chrome-stable_current_x86_64.rpm /opt/
RUN ln -s /opt $ROOT \
&& mkdir -p $ROOT/logs \
&& yum makecache fast \
&& yum install -y /opt/google-chrome-stable_current_x86_64.rpm \
&& rm -rf /var/cache/yum \
&& rm -rf /opt/google-chrome-stable_current_x86_64.rpm
CMD ["/opt/ccmd"]