Commit f43dd869 authored by 智勇's avatar 智勇

Merge branch 'jia' into 'master'

增加python类型



See merge request !1
parents 1aee3557 f9de1f49
FROM python:2
ARG BUILD_NUMBER
ARG SYSTEM_NAME
ARG BUILD_TIME
USER root
WORKDIR /home/quant_group
RUN mkdir project
RUN mkdir logs
ARG BUILD_SCHEMA
ARG SYSTEM_NAME
ENV BUILD_SCHEMA=$BUILD_SCHEMA
ENV SYSTEM_NAME=$SYSTEM_NAME
RUN echo -e "${BUILD_SCHEMA//@/\n}" >> ./build_info
apk add --no-cache vim && \
rm -rf /usr/bin/vi && \
ln -s /usr/bin/vim /usr/bin/vi
COPY docker-entrypoint.sh .
COPY dist.tgz ./project/dist.tgz
RUN chmod +x ./docker-entrypoint.sh
CMD ["./docker-entrypoint.sh"]
#!/bin/sh
echo 192.168.4.3 git.q-gp.com >> /etc/hosts
curl -sSL http://git.q-gp.com/QA/qg-docker-entrypoints/raw/master/dev/python/run.sh | sh
\ No newline at end of file
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