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

@@ -8,22 +8,22 @@ if [ ! -f "/usr/bin/bashio" ]; then
################
apk update &&
apk add --no-cache \
jq \
curl \
cifs-utils \
keyutils \
samba-client \
samba ||
jq \
curl \
cifs-utils \
keyutils \
samba-client \
samba ||
(
apt-get clean &&
apt-get update &&
apt-get install -y --no-install-recommends \
jq \
curl \
cifs-utils \
keyutils \
smbclient \
samba
jq \
curl \
cifs-utils \
keyutils \
smbclient \
samba
)
###################
@@ -36,7 +36,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