🐳 Work about Docker. editor nacos 2.0 dockerfile

This commit is contained in:
lengleng 2021-03-24 13:25:28 +08:00
parent 4a6ada065a
commit 55a1f9212d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +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++
RUN 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