From 9eca4bfd7d78c7a421d303eedbde6dd44153ff44 Mon Sep 17 00:00:00 2001 From: ZhouYixun <291028775@qq.com> Date: Sat, 10 Dec 2022 23:50:35 +0800 Subject: [PATCH] feat: add base image2 --- sonic-server-controller/src/main/docker/Dockerfile | 2 +- sonic-server-eureka/src/main/docker/Dockerfile | 2 +- sonic-server-folder/src/main/docker/Dockerfile | 2 +- sonic-server-gateway/src/main/docker/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sonic-server-controller/src/main/docker/Dockerfile b/sonic-server-controller/src/main/docker/Dockerfile index 515b3bec..7bf2df37 100644 --- a/sonic-server-controller/src/main/docker/Dockerfile +++ b/sonic-server-controller/src/main/docker/Dockerfile @@ -1,4 +1,4 @@ FROM registry.cn-hongkong.aliyuncs.com/sonic-cloud/sonic-server-base:v1.0.0 ADD /sonic-server-controller/target/sonic-server-controller.jar / -["java","-server","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED","-jar","/sonic-server-controller.jar"] +ENTRYPOINT ["java","-server","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED","-jar","/sonic-server-controller.jar"] diff --git a/sonic-server-eureka/src/main/docker/Dockerfile b/sonic-server-eureka/src/main/docker/Dockerfile index 155f6b30..1509c951 100644 --- a/sonic-server-eureka/src/main/docker/Dockerfile +++ b/sonic-server-eureka/src/main/docker/Dockerfile @@ -1,4 +1,4 @@ FROM registry.cn-hongkong.aliyuncs.com/sonic-cloud/sonic-server-base:v1.0.0 ADD /sonic-server-eureka/target/sonic-server-eureka.jar / -["java","-server","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED","-jar","/sonic-server-eureka.jar"] +ENTRYPOINT ["java","-server","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED","-jar","/sonic-server-eureka.jar"] diff --git a/sonic-server-folder/src/main/docker/Dockerfile b/sonic-server-folder/src/main/docker/Dockerfile index d3fce775..af48a47e 100644 --- a/sonic-server-folder/src/main/docker/Dockerfile +++ b/sonic-server-folder/src/main/docker/Dockerfile @@ -1,4 +1,4 @@ FROM registry.cn-hongkong.aliyuncs.com/sonic-cloud/sonic-server-base:v1.0.0 ADD /sonic-server-folder/target/sonic-server-folder.jar / -["java","-server","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED","-jar","/sonic-server-folder.jar"] +ENTRYPOINT ["java","-server","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED","-jar","/sonic-server-folder.jar"] diff --git a/sonic-server-gateway/src/main/docker/Dockerfile b/sonic-server-gateway/src/main/docker/Dockerfile index 9486a6b6..61800959 100644 --- a/sonic-server-gateway/src/main/docker/Dockerfile +++ b/sonic-server-gateway/src/main/docker/Dockerfile @@ -1,4 +1,4 @@ FROM registry.cn-hongkong.aliyuncs.com/sonic-cloud/sonic-server-base:v1.0.0 ADD /sonic-server-gateway/target/sonic-server-gateway.jar / -["java","-server","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED","-jar","/sonic-server-gateway.jar"] +ENTRYPOINT ["java","-server","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED","-jar","/sonic-server-gateway.jar"]