Loongson-Cloud-Community / dockerfiles

15 stars 14 forks source link

add tdengine 3.0.0.0 #175

Closed qiangxuhui closed 9 months ago

qiangxuhui commented 9 months ago
code level alerts
0 CIS-DI-0009 FATAL Use COPY : /bin/sh -c #(nop) ADD file:235c0b086b490a5e8e42a0f86ce46501dfce51c0399d03c8171c6a19cdf6ddb0 in /tini
1 DKL-DI-0005 FATAL Use 'rm -rf /var/lib/apt/lists' after 'apt-get install update' : 3 cpuType=loong64 dirName=TDengine-server-3.0.0.0 pkgFile=TDengine-server-3.0.0.0-Linux-loongarch64.tar.gz /bin/sh -c tar -zxf ${pkgFile} && cd /root/${dirName}/ && /bin/bash install.sh -e no && cd /root && rm /root/${pkgFile} && rm -rf /root/${dirName} && apt-get update && apt-get install -y locales tzdata netcat && locale-gen en_US.UTF-8 && apt-get clean && rm -rf /var/lib/apt/lists/ && chmod +x /tini
2 CIS-DI-0001 WARN Last user should not be root
3 CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
4 CIS-DI-0006 INFO not found HEALTHCHECK statement
5 CIS-DI-0008 INFO setgid file: grwxr-xr-x usr/bin/expiry
6 DKL-LI-0003 INFO unnecessary file : usr/local/taos/examples/C#/taosdemo/Dockerfile
qiangxuhui commented 9 months ago
code level alerts
0 DKL-DI-0005 FATAL Use 'rm -rf /var/lib/apt/lists' after 'apt-get install update' : 3 cpuType=loong64 dirName=TDengine-server-3.0.0.0 pkgFile=TDengine-server-3.0.0.0-Linux-loongarch64.tar.gz /bin/sh -c tar -zxf ${pkgFile} && cd /root/${dirName}/ && /bin/bash install.sh -e no && cd /root && rm /root/${pkgFile} && rm -rf /root/${dirName} && apt-get update && apt-get install -y locales tzdata netcat && locale-gen en_US.UTF-8 && apt-get clean && rm -rf /var/lib/apt/lists/ && chmod +x /tini
1 CIS-DI-0001 WARN Last user should not be root
2 CIS-DI-0005 INFO export DOCKER_CONTENT_TRUST=1 before docker pull/build
3 CIS-DI-0006 INFO not found HEALTHCHECK statement
4 CIS-DI-0008 INFO setuid file: urwxr-xr-x usr/bin/su
5 DKL-LI-0003 INFO unnecessary file : usr/local/taos/examples/C#/taosdemo/Dockerfile