16 lines
618 B
Docker
16 lines
618 B
Docker
FROM java
|
|
MAINTAINER Disassembler <disassembler@dasm.cz>
|
|
|
|
RUN \
|
|
# Install Tomcat 8
|
|
wget http://mirror.hosting90.cz/apache/tomcat/tomcat-8/v8.0.50/bin/apache-tomcat-8.0.50.tar.gz -O /tmp/apache-tomcat-8.tgz \
|
|
&& tar xf /tmp/apache-tomcat-8.tgz -C /srv \
|
|
&& mv /srv/apache-tomcat-8.0.50 /srv/tomcat \
|
|
# Make catalina.sh available globally
|
|
&& ln -s /srv/tomcat/bin/catalina.sh /usr/bin/catalina.sh \
|
|
# Cleanup
|
|
&& rm -rf /srv/tomcat/webapps/ROOT /srv/tomcat/webapps/docs /srv/tomcat/webapps/examples /srv/tomcat/webapps/host-manager /srv/tomcat/webapps/manager \
|
|
&& rm -f /tmp/apache-tomcat-8.tgz
|
|
|
|
COPY docker/ /
|