Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
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
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
alpha
physical
Commits
a87b6f16
Commit
a87b6f16
authored
Oct 13, 2019
by
zhongshangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复Pipeline
parent
6a924445
Pipeline
#3119
passed with stage
Changes
3
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
20 deletions
+2
-20
.drone.yml
.drone.yml
+0
-2
Dockerfile
Dockerfile
+2
-18
deploy.yaml.temp
deploy.yaml.temp
+0
-0
No files found.
.drone.yml
View file @
a87b6f16
...
@@ -33,7 +33,5 @@ trigger:
...
@@ -33,7 +33,5 @@ trigger:
branch
:
branch
:
-
like-pre/*
-
like-pre/*
image_pull_secrets
:
image_pull_secrets
:
-
dockerconfig
-
dockerconfig
Dockerfile
View file @
a87b6f16
FROM
python:3.6
FROM
ccr.ccs.tencentyun.com/gm-ai/alpha-python:3.6
ENV
PATH="/usr/local/bin:$PATH"
COPY
. /srv/apps/physical/
COPY
. /srv/apps/physical/
WORKDIR
/root/.ssh/
ADD
ssh/id_rsa .
ADD
./sources.list /etc/apt/sources.list
WORKDIR
/srv/apps/physical/
WORKDIR
/srv/apps/physical/
RUN
chmod
-R
600 /root/.ssh/id_rsa
\
RUN
mkdir
-p
/data/log/physical/app
&&
echo
"StrictHostKeyChecking no"
>>
/etc/ssh/ssh_config
\
&&
mkdir
-p
/data/log/physical/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
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
RUN
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
...
...
deploy.yaml.temp
View file @
a87b6f16
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