北斗定位
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 3 година
123456789101112
  1. FROM java:8
  2. MAINTAINER king <1609724385@qq.com>
  3. VOLUME /tmp
  4. COPY target/dipperposition.jar dipperposition.jar
  5. COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
  6. ENV TimeZone=Asia/Shanghai
  7. ENV active=dev
  8. ENV JAVA_OPTS="-Xmx256M -Xms256M"
  9. RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone
  10. ENTRYPOINT java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -Dio.netty.leakDetectionLevel=ADVANCED -jar /dipperposition.jar --spring.profiles.active=$active
  11. java -Xmx256M -Xms256M -Djava.security.egd=file:/dev/./urandom -Dio.netty.leakDetectionLevel=ADVANCED -jar /dipperposition.jar --spring.profiles.active=