From 30364cd123f4001ffe50b52fec6fc2c239a86d2b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 26 Jul 2021 21:15:00 +0200 Subject: [PATCH] Update Dockerfile --- mealie/Dockerfile | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/mealie/Dockerfile b/mealie/Dockerfile index 036cfb676..90622354f 100644 --- a/mealie/Dockerfile +++ b/mealie/Dockerfile @@ -8,31 +8,31 @@ RUN \ ################ # Install apps # ################ - apk add --no-cache jq curl bash \ - \ + apk add --no-cache jq curl bash + ################## # Install bashio # ################## - && curl -J -L -o /tmp/bashio.tar.gz \ - "https://github.com/hassio-addons/bashio/archive/v0.13.0.tar.gz" \ - && mkdir /tmp/bashio \ - && tar zxvf \ - /tmp/bashio.tar.gz \ - --strip 1 -C /tmp/bashio \ - \ - && mv /tmp/bashio/lib /usr/lib/bashio \ - && ln -s /usr/lib/bashio/bashio /usr/bin/bashio \ - && rm -fr \ - /tmp/* \ - \ + #&& curl -J -L -o /tmp/bashio.tar.gz \ + #"https://github.com/hassio-addons/bashio/archive/v0.13.0.tar.gz" \ + #&& mkdir /tmp/bashio \ + #&& tar zxvf \ + #/tmp/bashio.tar.gz \ + #--strip 1 -C /tmp/bashio \ + #\ + #&& mv /tmp/bashio/lib /usr/lib/bashio \ + #&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \ + # && rm -fr \ + #/tmp/* \ + # \ ############### # Adapt image # ############### - # Correct data path - && grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/data|g' \ - # Add nginx - && sed -i 's|#!/bin/sh|#!/bin/env bashio|g' /app/mealie/run.sh - #&& cat /nginx.txt >> /app/mealie/run.sh + # Correct data path + && grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/data|g' + # Add nginx + #&& sed -i 's|#!/bin/sh|#!/bin/env bashio|g' /app/mealie/run.sh \ + #&& cat /nginx.txt >> /app/mealie/run.sh VOLUME [ "/data" ]