update
This commit is contained in:
12
chromedriver/Dockerfile
Normal file
12
chromedriver/Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user