FROM carlye/jdk8-arm64 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 11005 ENV PATH=${PATH}:/micro ENV S_ACTIVE=${S_ACTIVE:-dev} ENV JAVA_OPS=${JAVA_OPS:-'-Xms512M -Xmx512M'} ENTRYPOINT ["run.sh","console"]