From 4e6d9d719b8eaa55d7a5b113aae2b70d3a7e25b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E5=BD=A9ing?= <382170522@qq.com> Date: Sun, 12 Sep 2021 07:37:19 +0800 Subject: [PATCH] =?UTF-8?q?:whale:=20Work=20about=20Docker.=20=E7=AE=80?= =?UTF-8?q?=E5=8C=96nacos=20=E9=95=9C=E5=83=8F=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pig-register/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pig-register/Dockerfile b/pig-register/Dockerfile index 5d3bba5a..f989b9bd 100755 --- a/pig-register/Dockerfile +++ b/pig-register/Dockerfile @@ -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" -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 @@ -17,4 +17,4 @@ COPY --from=builder /build/application/ ./ EXPOSE 8848 -CMD sleep 30; java $JAVA_OPTS org.springframework.boot.loader.JarLauncher \ No newline at end of file +CMD sleep 30; java $JAVA_OPTS org.springframework.boot.loader.JarLauncher