mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 17:46:00 +02:00
Update Dockerfile
This commit is contained in:
@@ -71,18 +71,11 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
|
|||||||
################
|
################
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Add custom instructions to run.sh on armv7
|
# Add custom instructions to run.sh
|
||||||
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 \
|
|
||||||
sed -i '1d' /app/mealie/run.sh \
|
sed -i '1d' /app/mealie/run.sh \
|
||||||
&& cat /app/mealie/run.sh >> /run.txt \
|
&& cat /app/mealie/run.sh >> /run.txt \
|
||||||
&& cat /run.txt > /app/mealie/run.sh \
|
&& cat /run.txt > /app/mealie/run.sh \
|
||||||
&& chmod +x /app/mealie/run.sh; fi
|
&& chmod +x /app/mealie/run.sh
|
||||||
|
|
||||||
############
|
############
|
||||||
# 5 Labels #
|
# 5 Labels #
|
||||||
|
|||||||
Reference in New Issue
Block a user