Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
f9de1f49
Commit
f9de1f49
authored
Jun 13, 2019
by
kewei.jia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加python类型
parent
1aee3557
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
Dockerfile
tke/python2/Dockerfile
+27
-0
docker-entrypoint.sh
tke/python2/docker-entrypoint.sh
+3
-0
No files found.
tke/python2/Dockerfile
0 → 100644
View file @
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"]
tke/python2/docker-entrypoint.sh
0 → 100755
View file @
f9de1f49
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment