Commit e2269b9f authored by xuezj's avatar xuezj

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

parents e337b49d 8aa147b4
......@@ -27,4 +27,4 @@ COPY ./config/* ./project/
COPY ./application.properties ./project/
COPY ./*.jar ./project/
CMD ["sh", "docker-entrypoint.sh"]
\ No newline at end of file
CMD ["sh", "docker-entrypoint.sh"]
FROM python:3
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
COPY docker-entrypoint.sh .
COPY dist.tgz ./project/dist.tgz
RUN chmod +x ./docker-entrypoint.sh
CMD ["sh", "docker-entrypoint.sh"]
#!/bin/bash
echo 172.30.10.23 git.quantgroup.cn >> /etc/hosts
curl -sSL http://git.quantgroup.cn/QA/qg-docker-entrypoints/raw/java/tke/python.sh -o run.sh
sh run.sh
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