From a92e61f5a9c3e0705f4288bd4c7998961b7967bf Mon Sep 17 00:00:00 2001 From: "jianghang.loujh" Date: Mon, 15 Apr 2024 18:52:42 +0800 Subject: [PATCH] fixed issue #5073 , optimize docker build --- deployer/src/main/resources/logback.xml | 6 +++--- docker/image/alidata/bin/main.sh | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/deployer/src/main/resources/logback.xml b/deployer/src/main/resources/logback.xml index 682e80fa..1d30442e 100644 --- a/deployer/src/main/resources/logback.xml +++ b/deployer/src/main/resources/logback.xml @@ -23,7 +23,7 @@ 512MB - 60 + 14 @@ -50,7 +50,7 @@ 32MB - 60 + 14 @@ -71,7 +71,7 @@ 512MB - 60 + 14 %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{56} - %msg%n diff --git a/docker/image/alidata/bin/main.sh b/docker/image/alidata/bin/main.sh index 256e7bcd..b8778757 100755 --- a/docker/image/alidata/bin/main.sh +++ b/docker/image/alidata/bin/main.sh @@ -12,8 +12,9 @@ for e in $(ls /alidata/init/*) ; do done echo "==> INIT DEFAULT" -systemctl start sshd -systemctl start crond +# disable systemctl +# systemctl start sshd +# systemctl start crond #echo "check hostname -i: `hostname -i`" #hti_num=`hostname -i|awk '{print NF}'`