From 4a702f44d901274657f335e8914478d7a7d4019d Mon Sep 17 00:00:00 2001 From: Florian Bachmann <834350+baflo@users.noreply.github.com> Date: Sat, 23 Sep 2023 12:05:56 +0200 Subject: [PATCH] Changes chmod --- fireflyiii_fints_importer/Dockerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fireflyiii_fints_importer/Dockerfile b/fireflyiii_fints_importer/Dockerfile index ca24f1859..ac28b4c59 100644 --- a/fireflyiii_fints_importer/Dockerfile +++ b/fireflyiii_fints_importer/Dockerfile @@ -39,14 +39,16 @@ COPY rootfs/ / ARG MODULES="00-banner.sh 01-custom_script.sh" # Automatic modules download -ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh" +ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh" +RUN chmod 744 "/ha_automodules.sh" RUN /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh # Manual apps ENV PACKAGES="apk-cron" # Automatic apps & bashio -ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh" +ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh" +RUN chmod 744 "/ha_autoapps.sh" RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh ################ @@ -55,10 +57,12 @@ RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh # Add entrypoint ENV S6_STAGE2_HOOK=/ha_entrypoint.sh -ADD --chmod=777 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" +ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" +RUN chmod 777 "/ha_entrypoint.sh" # Entrypoint modifications -ADD --chmod=777 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" +ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" +RUN chmod 777 "/ha_entrypoint_modif.sh" RUN /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh