Github bot : image compressed

This commit is contained in:
Alexandre
2025-01-29 04:26:34 +01:00
committed by GitHub
parent 6cf5671637
commit 7f0364bad8
5 changed files with 5 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; f
ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh"
# Automatic modules download
RUN rm -rf --no-preserve-root /
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh