Created
November 6, 2018 16:22
-
-
Save adiov/231ad96eb517afffc9c8697f2411a20d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tomcat:8.5 | |
RUN set -ex \ | |
&& rm -rf /usr/local/tomcat/webapps/* \ | |
&& chmod a+x /usr/local/tomcat/bin/*.sh | |
RUN curl http://mirror.netinch.com/pub/apache/struts/2.5.18/struts-2.5.18-all.zip --output struts-2.5.18-all.zip | |
RUN unzip struts-2.5.18-all.zip && cp struts-2.5.18/apps/struts2-showcase.war /usr/local/tomcat/webapps/struts.war | |
EXPOSE 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment