add smbclient to NAS enabled addons

This commit is contained in:
Alexandre
2021-10-19 15:33:10 +02:00
parent 177995689b
commit 88613e99f8
19 changed files with 82 additions and 63 deletions

View File

@@ -15,12 +15,14 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
|| apk add --no-cache \ || apk add --no-cache \
jq \ jq \
curl \ curl \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################## ##################
# Install bashio # # Install bashio #

View File

@@ -13,6 +13,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
nginx \ nginx \
&& apt-get clean \ && apt-get clean \
\ \

View File

@@ -7,6 +7,7 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
jq \ jq \
samba \ samba \
smbclient \
&& curl -J -L -o /tmp/bashio.tar.gz \ && curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.13.1.tar.gz" \ "https://github.com/hassio-addons/bashio/archive/v0.13.1.tar.gz" \
&& mkdir /tmp/bashio \ && mkdir /tmp/bashio \

View File

@@ -18,6 +18,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################## ##################
# Install bashio # # Install bashio #

View File

@@ -14,6 +14,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
bind-tools \ bind-tools \
nginx \ nginx \
\ \

View File

@@ -20,6 +20,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################### ###################
# Install bashio # # Install bashio #
@@ -32,7 +33,7 @@ RUN \
&& rm -rf /tmp/bashio \ && rm -rf /tmp/bashio \
\ \
# use /data instead of /config for hass.io environment # use /data instead of /config for hass.io environment
# && sed -i "s|/config|/share/grav|g" /etc/services.d/grav/run \ # && sed -i "s|/config|/share/grav|g" /etc/services.d/grav/run \
&& sed -i "s|/config|/share/grav|g" /etc/cont-init.d/50-config \ && sed -i "s|/config|/share/grav|g" /etc/cont-init.d/50-config \
&& sed -i "s|/share/grav/nginx|/config/nginx|g" /etc/cont-init.d/50-config \ && sed -i "s|/share/grav/nginx|/config/nginx|g" /etc/cont-init.d/50-config \
\ \

View File

@@ -11,6 +11,7 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
jq \ jq \
samba \ samba \
smbclient \
\ \
&& apt-get -y upgrade cifs-utils \ && apt-get -y upgrade cifs-utils \
\ \

View File

@@ -15,6 +15,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################### ###################
# Install bashio # # Install bashio #

View File

@@ -17,6 +17,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################### ###################
# Install bashio # # Install bashio #

View File

@@ -20,6 +20,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
coreutils \ coreutils \
\ \
################## ##################

View File

@@ -51,9 +51,9 @@ RUN \
&& sed -i 's/with-contenv bash/with-contenv bashio/g' /etc/cont-init.d/45-plex-claim \ && sed -i 's/with-contenv bash/with-contenv bashio/g' /etc/cont-init.d/45-plex-claim \
&& sed -i '2iexport PLEX_CLAIM=$(bashio::config "claim")' /etc/cont-init.d/45-plex-claim \ && sed -i '2iexport PLEX_CLAIM=$(bashio::config "claim")' /etc/cont-init.d/45-plex-claim \
&& sed -i '3i[ $PLEX_CLAIM = "Get_from_https://www.plex.tv/claim" ] && bashio::log.warning "Please change the PLEX_CLAIM code from the options" && exit 1 || true' /etc/cont-init.d/45-plex-claim && sed -i '3i[ $PLEX_CLAIM = "Get_from_https://www.plex.tv/claim" ] && bashio::log.warning "Please change the PLEX_CLAIM code from the options" && exit 1 || true' /etc/cont-init.d/45-plex-claim
########### ###########
# FOLDERS # # FOLDERS #
########### ###########
# && files=$(grep -rl '/config' /etc/cont-init.d/*) && echo $files | xargs sed -i 's|/config|/data|g' \ # && files=$(grep -rl '/config' /etc/cont-init.d/*) && echo $files | xargs sed -i 's|/config|/data|g' \
# && sed -i "s|/config|/data|g" /defaults/plexmediaserver \ # && sed -i "s|/config|/data|g" /defaults/plexmediaserver \
# && sed -i '2i cp -vnpr /config /data || true' /etc/cont-init.d/00-banner.sh # && sed -i '2i cp -vnpr /config /data || true' /etc/cont-init.d/00-banner.sh

View File

@@ -16,6 +16,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################### ###################
# Install bashio # # Install bashio #

View File

@@ -19,6 +19,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
nginx \ nginx \
coreutils \ coreutils \
openvpn \ openvpn \

View File

@@ -15,6 +15,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################### ###################
# Install bashio # # Install bashio #

View File

@@ -15,6 +15,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################### ###################
# Install bashio # # Install bashio #

View File

@@ -15,6 +15,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################### ###################
# Install bashio # # Install bashio #

View File

@@ -14,6 +14,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################## ##################
# Install bashio # # Install bashio #

View File

@@ -16,6 +16,7 @@ RUN \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \
\ \
################## ##################
# Install bashio # # Install bashio #

View File

@@ -7,6 +7,7 @@ RUN apk add --no-cache \
curl \ curl \
jq \ jq \
samba \ samba \
smbclient \
&& curl -J -L -o /tmp/bashio.tar.gz \ && curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.13.1.tar.gz" \ "https://github.com/hassio-addons/bashio/archive/v0.13.1.tar.gz" \
&& mkdir /tmp/bashio \ && mkdir /tmp/bashio \