Fix KylinOS start error

This commit is contained in:
Roman Demidov 2022-07-28 11:59:33 +03:00
parent 05c5042985
commit 956900c2ea

View file

@ -91,7 +91,9 @@ RUN PACKAGE_URL=$( echo ${PACKAGE_URL} | sed "s/TARGETARCH/"${TARGETARCH}"/g") &
chmod 755 /app/ds/*.sh && \
rm -f /tmp/$(basename "$PACKAGE_URL") && \
rm -rf /var/log/$COMPANY_NAME && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/* && \
find /etc/${COMPANY_NAME} -perm 640 -exec chmod 644 {} \; && \
find /var/www/${COMPANY_NAME} -perm 640 -exec chmod 644 {} \;
VOLUME /var/log/$COMPANY_NAME /var/lib/$COMPANY_NAME /var/www/$COMPANY_NAME/Data /var/lib/postgresql /var/lib/rabbitmq /var/lib/redis /usr/share/fonts/truetype/custom