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
034ce3ef
Commit
034ce3ef
authored
Jul 26, 2019
by
liupt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-z
parent
fa2fa8c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Dockerfile
Dockerfile
+4
-3
No files found.
Dockerfile
View file @
034ce3ef
...
...
@@ -2,9 +2,10 @@ FROM tomcat:8-jdk8
ARG
WAR_LOCATION
RUN
rm
-rf
/usr/local/tomcat/webapps/
*
&&
\
cd
/usr/local/tomcat/webapps/
&&
\
wget
-O
vip-room.tar
"
${
WAR_LOCATION
}
"
&&
\
tar
-
xf
vip-room.tar
&&
\
rm
-f
vip-room.tar &
\
wget
-O
vip-room.tar
.gz
"
${
WAR_LOCATION
}
"
&&
\
tar
-
zxf
vip-room.tar.gz
&&
\
rm
-f
vip-room.tar
.gz
&
\
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