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 \
keyutils \
samba \
smbclient \
|| apk add --no-cache \
jq \
curl \
cifs-utils \
keyutils \
samba \
smbclient \
\
##################
# Install bashio #

View File

@@ -9,11 +9,12 @@ RUN \
apt-get clean \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
jq \
cifs-utils \
keyutils \
samba \
nginx \
jq \
cifs-utils \
keyutils \
samba \
smbclient \
nginx \
&& apt-get clean \
\
##################

View File

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

View File

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

View File

@@ -8,15 +8,16 @@ RUN \
# Install apps #
################
apk add --no-cache \
curl \
jq \
bash \
cifs-utils \
keyutils \
samba \
bind-tools \
nginx \
\
curl \
jq \
bash \
cifs-utils \
keyutils \
samba \
smbclient \
bind-tools \
nginx \
\
##################
# Install bashio #
##################

View File

@@ -20,6 +20,7 @@ RUN \
cifs-utils \
keyutils \
samba \
smbclient \
\
###################
# Install bashio #
@@ -32,7 +33,7 @@ RUN \
&& rm -rf /tmp/bashio \
\
# 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|/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 \
jq \
samba \
smbclient \
\
&& apt-get -y upgrade cifs-utils \
\

View File

@@ -4,17 +4,18 @@ FROM ${BUILD_FROM}
ARG BASHIO_VERSION=0.13.1
RUN \
################
################
# Install apps #
################
apt-get clean \
&& apt-get update \
&& apt-get install -y \
jq \
curl \
cifs-utils \
keyutils \
samba \
jq \
curl \
cifs-utils \
keyutils \
samba \
smbclient \
\
###################
# Install bashio #

View File

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

View File

@@ -15,12 +15,13 @@ RUN \
apt-get clean \
&& apt-get update \
&& apt-get install -y \
jq \
curl \
cifs-utils \
keyutils \
samba \
coreutils \
jq \
curl \
cifs-utils \
keyutils \
samba \
smbclient \
coreutils \
\
##################
# Install bashio #

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 '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
###########
# FOLDERS #
###########
###########
# FOLDERS #
###########
# && 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 '2i cp -vnpr /config /data || true' /etc/cont-init.d/00-banner.sh

View File

@@ -11,11 +11,12 @@ RUN \
apt-get clean \
&& apt-get update \
&& apt-get install -y \
jq \
curl \
cifs-utils \
keyutils \
samba \
jq \
curl \
cifs-utils \
keyutils \
samba \
smbclient \
\
###################
# Install bashio #
@@ -35,11 +36,11 @@ RUN \
&& sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
&& sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser \
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \
\
\
# Correct permissions
&& sed -i 's|/config|-R /config/prowlarr|g' /etc/cont-init.d/10-adduser \
&& sed -i 's= /config=/config/prowlarr || true=g' /etc/cont-init.d/30-config \
&& sed -i 's|/config|/config/prowlarr|g' /etc/services.d/prowlarr/run
# copy local files
COPY root/ /

View File

@@ -14,14 +14,15 @@ RUN \
apt-get clean \
&& apt-get update \
&& apt-get install -y \
jq \
curl \
cifs-utils \
keyutils \
samba \
nginx \
coreutils \
openvpn \
jq \
curl \
cifs-utils \
keyutils \
samba \
smbclient \
nginx \
coreutils \
openvpn \
&& apt-get clean \
\
##################

View File

@@ -4,17 +4,18 @@ FROM ${BUILD_FROM}
ARG BASHIO_VERSION=0.13.1
RUN \
################
################
# Install apps #
################
apt-get clean \
&& apt-get update \
&& apt-get install -y \
jq \
curl \
cifs-utils \
keyutils \
samba \
jq \
curl \
cifs-utils \
keyutils \
samba \
smbclient \
\
###################
# Install bashio #

View File

@@ -4,17 +4,18 @@ FROM ${BUILD_FROM}
ARG BASHIO_VERSION=0.13.1
RUN \
################
################
# Install apps #
################
apt-get clean \
&& apt-get update \
&& apt-get install -y \
jq \
curl \
cifs-utils \
keyutils \
samba \
jq \
curl \
cifs-utils \
keyutils \
samba \
smbclient \
\
###################
# Install bashio #

View File

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

View File

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

View File

@@ -5,17 +5,18 @@ FROM ${BUILD_FROM}
ARG BASHIO_VERSION=0.13.1
RUN \
################
################
# Install apps #
################
apt-get clean \
&& apt-get update \
&& apt-get install -y \
jq \
curl \
cifs-utils \
keyutils \
samba \
jq \
curl \
cifs-utils \
keyutils \
samba \
smbclient \
\
##################
# Install bashio #

View File

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