From bafb4b0d6bfadba19e2f25c42dc4dc4af047412e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 23 Dec 2022 07:56:59 +0100 Subject: [PATCH] Update Dockerfile --- mealie_api/Dockerfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/mealie_api/Dockerfile b/mealie_api/Dockerfile index 8bd19e828..e4c7b0114 100644 --- a/mealie_api/Dockerfile +++ b/mealie_api/Dockerfile @@ -71,18 +71,11 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get ################ RUN \ - # Add custom instructions to run.sh on armv7 - if [ -f /app/run.sh ]; then \ - sed -i '1d' /app/run.sh \ - && cat /app/run.sh >> /run.txt \ - && cat /run.txt > /app/run.sh \ - && chmod +x /app/run.sh; \ - # Add custom instructions to run.sh on other aarch - elif [ -f /app/mealie/run.sh ]; then \ + # Add custom instructions to run.sh sed -i '1d' /app/mealie/run.sh \ && cat /app/mealie/run.sh >> /run.txt \ && cat /run.txt > /app/mealie/run.sh \ - && chmod +x /app/mealie/run.sh; fi + && chmod +x /app/mealie/run.sh ############ # 5 Labels #