🐳 Work about Docker. editor nacos 2.0 dockerfile

This commit is contained in:
lengleng 2021-03-23 10:56:03 +08:00
parent 54b5534d74
commit f3711c4609
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ RUN java -Djarmode=layertools -jar app.jar extract && rm app.jar
FROM moxm/java:1.8-full
LABEL maintainer="jclazz@outlook.com"
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk --no-cache add libstdc++
ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
WORKDIR pig-register