fixed issue #5073 , optimize docker build

This commit is contained in:
jianghang.loujh
2024-04-15 18:52:42 +08:00
parent eaacc01b77
commit a92e61f5a9
2 changed files with 6 additions and 5 deletions

View File

@@ -23,7 +23,7 @@
<!-- or whenever the file size reaches 100MB --> <!-- or whenever the file size reaches 100MB -->
<maxFileSize>512MB</maxFileSize> <maxFileSize>512MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy> </timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>60</maxHistory> <maxHistory>14</maxHistory>
</rollingPolicy> </rollingPolicy>
<encoder> <encoder>
<pattern> <pattern>
@@ -50,7 +50,7 @@
<!-- or whenever the file size reaches 100MB --> <!-- or whenever the file size reaches 100MB -->
<maxFileSize>32MB</maxFileSize> <maxFileSize>32MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy> </timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>60</maxHistory> <maxHistory>14</maxHistory>
</rollingPolicy> </rollingPolicy>
<encoder> <encoder>
<pattern> <pattern>
@@ -71,7 +71,7 @@
<!-- or whenever the file size reaches 100MB --> <!-- or whenever the file size reaches 100MB -->
<maxFileSize>512MB</maxFileSize> <maxFileSize>512MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy> </timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>60</maxHistory> <maxHistory>14</maxHistory>
</rollingPolicy> </rollingPolicy>
<encoder charset="UTF-8"> <encoder charset="UTF-8">
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{56} - %msg%n</pattern> <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{56} - %msg%n</pattern>

View File

@@ -12,8 +12,9 @@ for e in $(ls /alidata/init/*) ; do
done done
echo "==> INIT DEFAULT" echo "==> INIT DEFAULT"
systemctl start sshd # disable systemctl
systemctl start crond # systemctl start sshd
# systemctl start crond
#echo "check hostname -i: `hostname -i`" #echo "check hostname -i: `hostname -i`"
#hti_num=`hostname -i|awk '{print NF}'` #hti_num=`hostname -i|awk '{print NF}'`