From 0a3505ec30947f13219b73337b0353f3a892a9fc Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 27 Dec 2025 20:03:17 +0100 Subject: [PATCH] Add gosu dependency and bump social_to_mealie version --- social_to_mealie/Dockerfile | 5 ++--- social_to_mealie/config.yaml | 2 +- social_to_mealie/rootfs/etc/cont-init.d/99-run.sh | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/social_to_mealie/Dockerfile b/social_to_mealie/Dockerfile index 5c55d56c9..50349246b 100644 --- a/social_to_mealie/Dockerfile +++ b/social_to_mealie/Dockerfile @@ -49,7 +49,7 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh # Manual apps -ENV PACKAGES="jq" +ENV PACKAGES="jq gosu" # Automatic apps & bashio ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh" @@ -71,8 +71,7 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif. ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh -#ENTRYPOINT [ "/ha_entrypoint.sh" ] -#CMD [ "/ha_entrypoint.sh" ] +ENTRYPOINT [ "/ha_entrypoint.sh" ] ############ # 5 Labels # diff --git a/social_to_mealie/config.yaml b/social_to_mealie/config.yaml index edf226d0a..766c47267 100644 --- a/social_to_mealie/config.yaml +++ b/social_to_mealie/config.yaml @@ -1,5 +1,5 @@ name: Social to Mealie -version: 0.1.0-3 +version: 0.1.0-4 slug: social_to_mealie description: Import recipes from social media directly into Mealie url: https://github.com/alexbelgium/hassio-addons diff --git a/social_to_mealie/rootfs/etc/cont-init.d/99-run.sh b/social_to_mealie/rootfs/etc/cont-init.d/99-run.sh index 2e62244a8..b5469679c 100755 --- a/social_to_mealie/rootfs/etc/cont-init.d/99-run.sh +++ b/social_to_mealie/rootfs/etc/cont-init.d/99-run.sh @@ -4,4 +4,4 @@ set -e bashio::log.info "Starting Social to Mealie" cd /app || bashio::exit.nok "App directory not found" -/./app/entrypoint.sh node --run start +exec gosu nextjs /app/entrypoint.sh node --run start