mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 20:09:13 +02:00
Update Dockerfile
This commit is contained in:
@@ -32,17 +32,17 @@ RUN \
|
|||||||
| tar -xzf - --strip 1 -C /tmp/bashio \
|
| tar -xzf - --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 -rf /tmp/bashio\
|
&& rm -rf /tmp/bashio
|
||||||
\
|
|
||||||
################
|
################
|
||||||
# Modify image #
|
# Modify image #
|
||||||
################
|
################
|
||||||
# Add script
|
# Add script
|
||||||
&& cat /run > /temporaryfile \
|
#&& cat /run > /temporaryfile \
|
||||||
&& cat /docker-entrypoint.sh >> /temporaryfile \
|
#&& cat /docker-entrypoint.sh >> /temporaryfile \#
|
||||||
&& cat /temporaryfile > /docker-entrypoint.sh \
|
#&& cat /temporaryfile > /docker-entrypoint.sh \
|
||||||
&& chmod +x /docker-entrypoint.sh \
|
# && chmod +x /docker-entrypoint.sh \
|
||||||
&& rm /temporaryfile
|
# && rm /temporaryfile
|
||||||
# Add correct location
|
# Add correct location
|
||||||
#&& sed -i "s|CONFIG_FILE="data|CONFIG_FILE="/data|g" /etc/cont-init.d/
|
#&& sed -i "s|CONFIG_FILE="data|CONFIG_FILE="/data|g" /etc/cont-init.d/
|
||||||
################
|
################
|
||||||
|
|||||||
Reference in New Issue
Block a user