Update Dockerfile

This commit is contained in:
Alexandre
2021-10-21 04:15:01 +02:00
committed by GitHub
parent 0006acb95c
commit 7dfd1998a7

View File

@@ -33,10 +33,13 @@ RUN \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio
RUN \
################
# 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
# Add script
#&& sed -i '1d' /docker-entrypoint.sh \