Skip to content

Instantly share code, notes, and snippets.

@rhysgodfrey
Created January 22, 2017 13:48
Show Gist options
  • Save rhysgodfrey/aa52dd50426bfdb8fbdaf4887dde6640 to your computer and use it in GitHub Desktop.
Save rhysgodfrey/aa52dd50426bfdb8fbdaf4887dde6640 to your computer and use it in GitHub Desktop.
FROM microsoft/windowsservercore
SHELL ["powershell"]
ENV CATALINA_HOME C:\\Tomcat\\apache-tomcat-8.5.9
RUN C:\Tomcat\apache-tomcat-8.5.9\bin\service.bat install
ADD Search/solr C:\\Tomcat\\apache-tomcat-8.5.9\\solr
ENTRYPOINT ["C:\\ServiceMonitor.exe", "Tomcat8"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment