123456789101112 |
- FROM carlye/jdk8-arm64
- MAINTAINER tianping <email=48690326@qq.com>
- 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 11019
- ENV PATH=${PATH}:/micro
- ENV S_ACTIVE=${S_ACTIVE:-dev}
- ENV JAVA_OPS=${JAVA_OPS:-'-Xms512M -Xmx512M'}
- ENTRYPOINT ["run.sh","console"]
|