FROM yd-artifact.srdcloud.cn/ctchongqing-oshare-docker-mc/openjdk8:font-pinpoint-resale MAINTAINER tianping RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone RUN mkdir /micro -p ADD run-docker.sh /micro/run.sh RUN cd /micro&&chmod u+x * ADD target/*-exec.jar /micro EXPOSE 9995 ENV PATH=${PATH}:/micro ENV S_ACTIVE=${S_ACTIVE:-dev} ENV JAVA_OPS=${JAVA_OPS:-'-Xms512M -Xmx512M'} ENTRYPOINT ["run.sh","console"]