Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vip-room
Overview
Overview
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
kc-repo
vip-room
Commits
c0170692
Commit
c0170692
authored
Jul 29, 2019
by
liupt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v1
parent
69d86a5e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Dockerfile
Dockerfile
+3
-4
No files found.
Dockerfile
View file @
c0170692
FROM
tomcat:8-jdk8
ARG
WAR_LOCATION="http://kcuc.koala-cloud.com/b2c-two.tar.gz"
RUN
rm
-rf
/usr/local/tomcat/webapps/
*
&&
\
cd
/usr/local/tomcat/webapps/
&&
\
wget
-O
b2c-two.tar.gz
"
${
WAR_LOCATION
}
"
&&
\
tar
-zxf
b2c-two.tar.gz
&&
\
rm
-f
b2c-two.tar.gz
&
\
wget
-O
"
${
PROJECT_NAME
}
"
"
${
WAR_LOCATION
}
"
&&
\
tar
-zxf
"
${
PROJECT_NAME
}
"
&&
\
rm
-f
"
${
PROJECT_NAME
}
"
&
\
chown
-R
1000:1000 /usr/local/tomcat/webapps/
USER
1000
CMD
["/usr/local/tomcat/bin/catalina.sh", "run"]
...
...
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