Commit 3cfa6f39 authored by kalvin's avatar kalvin

Merge branch 'master' of git.quantgroup.cn:QA/qg-dockerfiles

parents 80800697 fe5c0b2b
......@@ -4,7 +4,12 @@ WORKDIR /home/quant_group
RUN yum -y update
RUN yum install -y epel-release
RUN yum install -y python-pip
RUN python -m pip install --upgrade pip
RUN yum -y install python-devel
RUN yum -y install mysql-devel
RUN pip install -i http://pypi.douban.com/simple --default-timeout 6000 tornado MySQL-python DBUtils synthesis executor futures --trusted-host pypi.douban.com
COPY requirements.txt .
RUN pip install -r requirements.txt
......
FROM 192.168.4.4/baseimg/python:201803291115
FROM 192.168.4.4/baseimg/python:2018041701
ARG BUILD_NUMBER
ARG SYSTEM_NAME
......@@ -17,11 +17,6 @@ ENV SYSTEM_NAME=$SYSTEM_NAME
RUN echo -e "${BUILD_SCHEMA//@/\n}" >> ./build_info
RUN python -m pip install --upgrade pip
RUN yum -y install python-devel
RUN yum -y install mysql-devel
RUN pip install -i http://pypi.douban.com/simple --default-timeout 6000 tornado MySQL-python DBUtils synthesis executor futures --trusted-host pypi.douban.com
#RUN apt-get remove python-pip -y && apt-get autoremove -y
COPY docker-entrypoint.sh .
COPY dist.tgz ./project/dist.tgz
......
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