Commit bbf55258 authored by 智勇's avatar 智勇

拆分基础镜像

parent a56f0792
# 基于centos7
FROM openresty/openresty:1.13.6.2-centos
WORKDIR /home/quant_group
RUN yum -y install epel-release \
&& yum -y install python-pip \
&& yum -y install telnet.x86_64
# 加入测试工具集
COPY qa-replace .
RUN pip install -r requirements.txt \
&& yum clean all
......@@ -2,19 +2,10 @@ ARG FROM_IMAGE
FROM ${FROM_IMAGE}
# 基于centos7
FROM openresty/openresty:1.13.6.2-centos
FROM ccr.ccs.tencentyun.com/qg-qa/openresty1.13
WORKDIR /home/quant_group
RUN yum -y install epel-release \
&& yum -y install python-pip \
&& yum -y install telnet.x86_64
# 加入测试工具集
COPY qa-replace .
RUN pip install -r requirements.txt \
&& yum clean all
# 拷贝nginx配置
COPY lua/*.lua /usr/local/openresty/nginx/lua/
ARG CONFIG=default.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment