Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
alpha
sun
Commits
68acf79e
Commit
68acf79e
authored
Oct 13, 2019
by
zhongshangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复Pipeline
parent
b95f0fce
Pipeline
#3106
passed with stage
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
18 deletions
+2
-18
Dockerfile
Dockerfile
+2
-18
deploy.yaml
deploy.yaml
+0
-0
deploy.yaml.temp
deploy.yaml.temp
+0
-0
No files found.
Dockerfile
View file @
68acf79e
FROM
python:3.6
ENV
PATH="/usr/local/bin:$PATH"
FROM
ccr.ccs.tencentyun.com/gm-ai/alpha-python:3.6
COPY
. /srv/apps/sun/
WORKDIR
/root/.ssh/
ADD
ssh/id_rsa .
ADD
./sources.list /etc/apt/sources.list
WORKDIR
/srv/apps/sun/
RUN
chmod
-R
600 /root/.ssh/id_rsa
\
&&
echo
"StrictHostKeyChecking no"
>>
/etc/ssh/ssh_config
\
&&
mkdir
-p
/data/log/sun/app
RUN
apt-key adv
--recv-keys
--keyserver
keyserver.ubuntu.com 3B4FE6ACC0B21F32
\
&&
apt-get
-y
update
&&
apt-get
-y
install
mysql-client libmysqlclient-dev
\
&&
apt-get clean
\
&&
apt-get autoclean
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
mkdir
-p
/data/log/sun/app
RUN
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
...
...
deploy.yaml
View file @
68acf79e
This diff is collapsed.
Click to expand it.
deploy.yaml.temp
View file @
68acf79e
This diff is collapsed.
Click to expand it.
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