Removed orphaned *.pyc files from Ubuntu images

This commit is contained in:
Alexey Pustovalov
2025-07-15 18:04:47 +09:00
parent 90a4ed7f4c
commit 7a8ccac5dc
17 changed files with 8 additions and 17 deletions

View File

@ -104,7 +104,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
cd ${ZABBIX_WWW_ROOT}/ && \
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
rm -rf tests && \
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
find ${ZABBIX_WWW_ROOT}/locale -name '*.po' | xargs rm -f && \
find ${ZABBIX_WWW_ROOT}/locale -name '*.sh' | xargs rm -f && \
ln -s "${ZABBIX_CONF_DIR}/web/zabbix.conf.php" "${ZABBIX_WWW_ROOT}/conf/zabbix.conf.php" && \