ADD file:805cb5e15fb6e0bb0326ca33fd2942e068863ce2a8491bb71522c652f31fb466 in / |
LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20210915 |
CMD ["/bin/bash"] |
COPY README.md /usr/local/README.md # buildkit |
ADD jdk-8u401-linux-x64.tar.gz /usr/local # buildkit |
ADD apache-tomcat-9.0.85.tar.gz /usr/local # buildkit |
ENV MYPATH=/usr/local |
WORKDIR /usr/local |
RUN /bin/sh -c mv jdk1.8.0_401/ java/ # buildkit |
RUN /bin/sh -c mv apache-tomcat-9.0.85/ tomcat/ # buildkit |
ENV JAVA_HOME=/usr/local/java |
ENV JAVA_VERSION=jdk-8u401-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:{}] |
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"] |