更新 Dockerfile-tomcat1
正在显示
1 个修改的文件
包含
1 行增加
和
6 行删除
1 | FROM docker.77s.vip/tomcat:2.0.2 | 1 | FROM docker.77s.vip/tomcat:0.0.2 |
2 | 2 | ||
3 | RUN rm -rf /usr/local/tomcat/webapps/* | 3 | RUN rm -rf /usr/local/tomcat/webapps/* |
4 | 4 | ||
5 | COPY ROOT.war /usr/local/tomcat/webapps/ | 5 | COPY ROOT.war /usr/local/tomcat/webapps/ |
... | \ No newline at end of file | ... | \ No newline at end of file |
6 | |||
7 | RUN chown -R tomcat:tomcat /usr/local/java \ | ||
8 | && chown -R tomcat:tomcat /usr/local/tomcat | ||
9 | |||
10 | USER tomcat | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
请 注册 或 登录 后发表评论