Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
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
rank
mentha
Commits
e73aa8b5
Commit
e73aa8b5
authored
Dec 11, 2019
by
胡凯旋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Dockerfile / Jenkinsfile
parent
210d8dfa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Dockerfile
Dockerfile
+4
-4
Jenkinsfile
Jenkinsfile
+1
-1
No files found.
Dockerfile
View file @
e73aa8b5
...
...
@@ -43,13 +43,13 @@ RUN apk add --no-cache --virtual .build-deps \
&& apk add --no-cache mariadb-connector-c-dev libxml2-dev libxslt-dev librdkafka-dev \
&& pip install --no-cache-dir -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r /tmp/requirements.txt \
&& mkdir -p /tmp/video_convert \
&& mkdir -p /data/log/m
imas
/app
&& mkdir -p /data/log/m
entha
/app
ENV
GM_RPCD_DEPLOY_CONF_PATH "/srv/apps/m
imas
/deploy_prod.xml"
ENV
GM_RPCD_DEPLOY_CONF_PATH "/srv/apps/m
entha
/deploy_prod.xml"
COPY
. /srv/apps/m
imas
/
COPY
. /srv/apps/m
entha
/
WORKDIR
/srv/apps/m
imas
/
WORKDIR
/srv/apps/m
entha
/
RUN
cat
requirements.txt |
grep
master
>
/tmp/gm-requirements.txt
\
&&
pip
install
--no-deps
--upgrade
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
-r
/tmp/gm-requirements.txt
\
...
...
Jenkinsfile
View file @
e73aa8b5
...
...
@@ -20,7 +20,7 @@ pipeline {
// Image Tag branch.time.hash
TAG
=
dockerTag
()
// Image Full Tag
IMAGE
=
"${DOCKER_REGISTRY}/gm-backend/m
imas
:$TAG"
IMAGE
=
"${DOCKER_REGISTRY}/gm-backend/m
entha
:$TAG"
}
stages
{
...
...
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