tomcat9-jdk11-debian (1.1.0)
Published 2024-03-03 15:23:11 +08:00 by macrocc
Installation
docker pull macrocc.com:3000/macrocc/tomcat9-jdk11-debian:1.1.0
sha256:cf4c5e2b40ffce2cdb7c11ab52913e3438da68ae249c9f2e4799e36ca6e3cf3e
Image Layers
ADD file:333b899a197a48b3333115a3b59efed559494808873943f606a9bc2b6e242c49 in / |
CMD ["bash"] |
COPY ../README.md /usr/local/README.md # buildkit |
ADD ../lib/apache-tomcat-9.0.85.tar.gz /usr/local # buildkit |
ADD ../lib/openlogic-openjdk-11.0.22+7-linux-x64.tar.gz /usr/local # buildkit |
ENV MYPATH=/usr/local |
WORKDIR /usr/local |
RUN /bin/sh -c mv apache-tomcat-9.0.85/ tomcat/ # buildkit |
RUN /bin/sh -c mv openlogic-openjdk-11.0.22+7-linux-x64/ java/ # buildkit |
ENV JAVA_HOME=/usr/local/java |
ENV JAVA_VERSION=openlogic-openjdk-11.0.22+7-linux-x64 |
ENV TOMCAT_HOME=/usr/local/tomcat |
ENV TOMCAT_VERSION=apache-tomcat-9.0.85 |
ENV CLASSPATH=/usr/local/java/lib/dt.jar:/usr/local/java/lib/tools.jar |
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/java/bin:/lib:/bin |
EXPOSE map[8080/tcp:{}] |
EXPOSE map[8080/tcp:{}] |
VOLUME [/usr/local/tomcat/logs/ /usr/local/tomcat/webapps] |
CMD ["/bin/sh" "-c" "$TOMCAT_HOME/bin/startup.sh && tail -F $TOMCAT_HOME/logs/catalina.out"] |