Dockerfile backup script

This commit is contained in:
Alexandre
2021-11-26 13:25:30 +01:00
parent b048364a84
commit 3d52a905f1
11 changed files with 121 additions and 133 deletions

View File

@@ -9,9 +9,9 @@ if [ ! -f "/usr/bin/bashio" ]; then
apt-get clean &&
apt-get update &&
apt-get install -y --no-install-recommends \
jq \
curl \
yamllint
jq \
curl \
yamllint
###################
# Install bashio #
@@ -23,7 +23,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio
) >/dev/null 2>/aaa && \
echo "Bashio installed" | cat /aaa
) >/dev/null
fi