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
3cfa6f39
Commit
3cfa6f39
authored
Apr 17, 2018
by
kalvin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.quantgroup.cn:QA/qg-dockerfiles
parents
80800697
fe5c0b2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Dockerfile
baseimg/common/python/Dockerfile
+5
-0
Dockerfile
templates/python/Dockerfile
+1
-6
No files found.
baseimg/common/python/Dockerfile
View file @
3cfa6f39
...
@@ -4,7 +4,12 @@ WORKDIR /home/quant_group
...
@@ -4,7 +4,12 @@ WORKDIR /home/quant_group
RUN
yum
-y
update
RUN
yum
-y
update
RUN
yum
install
-y
epel-release
RUN
yum
install
-y
epel-release
RUN
yum
install
-y
python-pip
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 .
COPY
requirements.txt .
RUN
pip
install
-r
requirements.txt
RUN
pip
install
-r
requirements.txt
...
...
templates/python/Dockerfile
View file @
3cfa6f39
FROM
192.168.4.4/baseimg/python:20180
3291115
FROM
192.168.4.4/baseimg/python:20180
41701
ARG
BUILD_NUMBER
ARG
BUILD_NUMBER
ARG
SYSTEM_NAME
ARG
SYSTEM_NAME
...
@@ -17,11 +17,6 @@ ENV SYSTEM_NAME=$SYSTEM_NAME
...
@@ -17,11 +17,6 @@ ENV SYSTEM_NAME=$SYSTEM_NAME
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
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
docker-entrypoint.sh .
COPY
dist.tgz ./project/dist.tgz
COPY
dist.tgz ./project/dist.tgz
...
...
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