mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
add smbclient to NAS enabled addons
This commit is contained in:
@@ -15,12 +15,14 @@ RUN \
|
||||
cifs-utils \
|
||||
keyutils \
|
||||
samba \
|
||||
smbclient \
|
||||
|| apk add --no-cache \
|
||||
jq \
|
||||
curl \
|
||||
cifs-utils \
|
||||
keyutils \
|
||||
samba \
|
||||
smbclient \
|
||||
\
|
||||
##################
|
||||
# Install bashio #
|
||||
|
||||
@@ -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 \
|
||||
\
|
||||
##################
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -18,6 +18,7 @@ RUN \
|
||||
cifs-utils \
|
||||
keyutils \
|
||||
samba \
|
||||
smbclient \
|
||||
\
|
||||
##################
|
||||
# Install bashio #
|
||||
|
||||
@@ -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 #
|
||||
##################
|
||||
|
||||
@@ -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 \
|
||||
\
|
||||
|
||||
@@ -11,6 +11,7 @@ RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
jq \
|
||||
samba \
|
||||
smbclient \
|
||||
\
|
||||
&& apt-get -y upgrade cifs-utils \
|
||||
\
|
||||
|
||||
@@ -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 #
|
||||
|
||||
@@ -17,6 +17,7 @@ RUN \
|
||||
cifs-utils \
|
||||
keyutils \
|
||||
samba \
|
||||
smbclient \
|
||||
\
|
||||
###################
|
||||
# Install bashio #
|
||||
|
||||
@@ -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 #
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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/ /
|
||||
|
||||
@@ -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 \
|
||||
\
|
||||
##################
|
||||
|
||||
@@ -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 #
|
||||
|
||||
@@ -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 #
|
||||
|
||||
@@ -15,6 +15,7 @@ RUN \
|
||||
cifs-utils \
|
||||
keyutils \
|
||||
samba \
|
||||
smbclient \
|
||||
\
|
||||
###################
|
||||
# Install bashio #
|
||||
|
||||
@@ -14,6 +14,7 @@ RUN \
|
||||
cifs-utils \
|
||||
keyutils \
|
||||
samba \
|
||||
smbclient \
|
||||
\
|
||||
##################
|
||||
# Install bashio #
|
||||
|
||||
@@ -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 #
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user