java环境dockefile
FROM centos:7
MAINTAINER yon@taexa.com
ENV JAVA_HOME /usr/local/jdk
ENV JRE_HOME ${JAVA_HOME}/jre
ENV CLASSPATH .:${JAVA_HOME}/lib/tools.jar:${JRE_HOME}/lib/dt.jar
ENV PATH ${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:$PATH
ADD jdk-8u152-linux-x64.tar.gz /usr/local
RUN ln -s /usr/local/jdk1.8.0_152 /usr/local/jdk
RUN mkdir /home/datae/sight/log -p && mkdir /home/da/sight/jar -p
EXPOSE 9030
COPY exec-entrypoint.sh /
RUN chmod +x /exec-entrypoint.sh
COPY appmarket-5.0.0-SNAPSHOT.jar /home/data/sight/jar
CMD ["sh","/exec-entrypoint.sh"]