mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-06 03:44:53 +01:00
Update Dockerfile
This commit is contained in:
@@ -33,10 +33,13 @@ RUN \
|
|||||||
&& 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
|
||||||
|
|
||||||
|
RUN \
|
||||||
################
|
################
|
||||||
# Modify image #
|
# Modify image #
|
||||||
################
|
################
|
||||||
# && chmod +x /run.sh
|
chmod a+x /run.sh \
|
||||||
|
&& sed -i "2 i\./run.sh || true" /docker-entrypoint.sh
|
||||||
#&& sed -i 's!/bin/bash/bashio/g' /docker-entrypoint.sh
|
#&& sed -i 's!/bin/bash/bashio/g' /docker-entrypoint.sh
|
||||||
# Add script
|
# Add script
|
||||||
#&& sed -i '1d' /docker-entrypoint.sh \
|
#&& sed -i '1d' /docker-entrypoint.sh \
|
||||||
|
|||||||
Reference in New Issue
Block a user