mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-22 16:51:51 +02:00
Update Dockerfile
This commit is contained in:
@@ -8,31 +8,31 @@ RUN \
|
|||||||
################
|
################
|
||||||
# Install apps #
|
# Install apps #
|
||||||
################
|
################
|
||||||
apk add --no-cache jq curl bash \
|
apk add --no-cache jq curl bash
|
||||||
\
|
|
||||||
##################
|
##################
|
||||||
# Install bashio #
|
# Install bashio #
|
||||||
##################
|
##################
|
||||||
&& curl -J -L -o /tmp/bashio.tar.gz \
|
#&& curl -J -L -o /tmp/bashio.tar.gz \
|
||||||
"https://github.com/hassio-addons/bashio/archive/v0.13.0.tar.gz" \
|
#"https://github.com/hassio-addons/bashio/archive/v0.13.0.tar.gz" \
|
||||||
&& mkdir /tmp/bashio \
|
#&& mkdir /tmp/bashio \
|
||||||
&& tar zxvf \
|
#&& tar zxvf \
|
||||||
/tmp/bashio.tar.gz \
|
#/tmp/bashio.tar.gz \
|
||||||
--strip 1 -C /tmp/bashio \
|
#--strip 1 -C /tmp/bashio \
|
||||||
\
|
#\
|
||||||
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
#&& mv /tmp/bashio/lib /usr/lib/bashio \
|
||||||
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
#&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
||||||
&& rm -fr \
|
# && rm -fr \
|
||||||
/tmp/* \
|
#/tmp/* \
|
||||||
\
|
# \
|
||||||
###############
|
###############
|
||||||
# Adapt image #
|
# Adapt image #
|
||||||
###############
|
###############
|
||||||
# Correct data path
|
# Correct data path
|
||||||
&& grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/data|g' \
|
&& grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/data|g'
|
||||||
# Add nginx
|
# Add nginx
|
||||||
&& sed -i 's|#!/bin/sh|#!/bin/env bashio|g' /app/mealie/run.sh
|
#&& sed -i 's|#!/bin/sh|#!/bin/env bashio|g' /app/mealie/run.sh \
|
||||||
#&& cat /nginx.txt >> /app/mealie/run.sh
|
#&& cat /nginx.txt >> /app/mealie/run.sh
|
||||||
|
|
||||||
VOLUME [ "/data" ]
|
VOLUME [ "/data" ]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user