mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
ha_autoapps script
This commit is contained in:
26
.templates/ha_autoapps.sh
Normal file
26
.templates/ha_autoapps.sh
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# shellcheck disable=SC2015
|
||||||
|
|
||||||
|
##############################
|
||||||
|
# Automatic apps download #
|
||||||
|
##############################
|
||||||
|
|
||||||
|
PACKAGES="$1"
|
||||||
|
|
||||||
|
# Install bash if needed
|
||||||
|
if ! command -v bash >/dev/null 2>/dev/null; then
|
||||||
|
(apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install curl if needed
|
||||||
|
if ! command -v curl >/dev/null 2>/dev/null; then
|
||||||
|
(apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Call apps installer script if needed
|
||||||
|
curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh
|
||||||
|
chmod 777 /automatic_packages.sh
|
||||||
|
eval /./automatic_packages.sh "${PACKAGES:-}"
|
||||||
|
|
||||||
|
# Clean
|
||||||
|
rm /automatic_packages.sh
|
||||||
@@ -47,13 +47,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -47,13 +47,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="jq curl iproute2"
|
ENV PACKAGES="jq curl iproute2"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -54,13 +54,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils nginx"
|
keyutils nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -50,13 +50,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ARG PACKAGES=""
|
ARG PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -51,13 +51,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -67,13 +67,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="sudo redis nginx"
|
ENV PACKAGES="sudo redis nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -57,13 +57,8 @@ ENV PACKAGES="libmariadb-dev-compat \
|
|||||||
sqlite3"
|
sqlite3"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -57,13 +57,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils"
|
keyutils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -48,13 +48,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -60,13 +60,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -62,13 +62,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="libnss3 libxtst6 libxrandr2"
|
ENV PACKAGES="libnss3 libxtst6 libxrandr2"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
# Install sqlite3 & set defaults
|
# Install sqlite3 & set defaults
|
||||||
RUN if ! command -v sqlite3 >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends sqlite3 || apk add --no-cache sqlite3) >/dev/null; fi \
|
RUN if ! command -v sqlite3 >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends sqlite3 || apk add --no-cache sqlite3) >/dev/null; fi \
|
||||||
|
|||||||
@@ -48,13 +48,8 @@ ENV PACKAGES="jq \
|
|||||||
nginx"
|
nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -51,13 +51,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="jq"
|
ENV PACKAGES="jq"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -59,13 +59,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -50,13 +50,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -46,13 +46,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx yamllint"
|
ENV PACKAGES="nginx yamllint"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -46,13 +46,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx yamllint"
|
ENV PACKAGES="nginx yamllint"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -48,13 +48,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -48,13 +48,8 @@ ENV PACKAGES="bind-tools \
|
|||||||
nginx"
|
nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -57,13 +57,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="cron mariadb-client"
|
ENV PACKAGES="cron mariadb-client"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -53,13 +53,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="cron"
|
ENV PACKAGES="cron"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -47,13 +47,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="apk-cron"
|
ENV PACKAGES="apk-cron"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -47,13 +47,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -63,13 +63,8 @@ ENV PACKAGES="jq \
|
|||||||
cifs-utils"
|
cifs-utils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -46,13 +46,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -48,13 +48,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -48,13 +48,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
EXPOSE 22 3000
|
EXPOSE 22 3000
|
||||||
|
|
||||||
|
|||||||
@@ -54,13 +54,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils"
|
keyutils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -78,13 +78,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -69,13 +69,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="sudo redis-server yamllint pip libxml2-dev libxslt-dev libjpeg-dev zlib1g-dev build-essential"
|
ENV PACKAGES="sudo redis-server yamllint pip libxml2-dev libxslt-dev libjpeg-dev zlib1g-dev build-essential"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -52,13 +52,8 @@ ENV PACKAGES="curl \
|
|||||||
build-base libressl-dev ca-certificates npm"
|
build-base libressl-dev ca-certificates npm"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
# Install mustache
|
# Install mustache
|
||||||
# spellcheck disable=SC2015
|
# spellcheck disable=SC2015
|
||||||
|
|||||||
@@ -53,13 +53,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="curl"
|
ENV PACKAGES="curl"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -58,13 +58,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -56,13 +56,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -52,13 +52,8 @@ ENV PACKAGES="jq \
|
|||||||
nginx"
|
nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
ARG MODULES="00-banner.sh 01-custom_script.sh"
|
ARG MODULES="00-banner.sh 01-custom_script.sh"
|
||||||
|
|||||||
@@ -53,13 +53,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="procps"
|
ENV PACKAGES="procps"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -53,13 +53,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils"
|
keyutils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -54,13 +54,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -50,13 +50,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -74,13 +74,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="gcompat"
|
ENV PACKAGES="gcompat"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
VOLUME ["/share", "/ssl", "/data", "/media"]
|
VOLUME ["/share", "/ssl", "/data", "/media"]
|
||||||
|
|
||||||
|
|||||||
@@ -50,13 +50,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -54,13 +54,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -55,13 +55,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -50,13 +50,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="jq curl"
|
ENV PACKAGES="jq curl"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -50,13 +50,8 @@ ENV PACKAGES="curl \
|
|||||||
jq"
|
jq"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -51,13 +51,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -51,13 +51,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="redis-server yamllint pip libxml2-dev libxslt-dev python-dev libjpeg-dev zlib1g-dev python3-dev build-essential nginx"
|
ENV PACKAGES="redis-server yamllint pip libxml2-dev libxslt-dev python-dev libjpeg-dev zlib1g-dev python3-dev build-essential nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -61,13 +61,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils"
|
keyutils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -58,13 +58,8 @@ ENV PACKAGES="jq \
|
|||||||
nginx"
|
nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -52,13 +52,8 @@ ENV PACKAGES="jq \
|
|||||||
cifs-utils"
|
cifs-utils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -63,13 +63,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils"
|
keyutils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -59,13 +59,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -69,13 +69,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -55,13 +55,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -51,13 +51,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -53,13 +53,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils"
|
keyutils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -85,13 +85,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ARG PACKAGES=""
|
ARG PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
# Switch scripts from s6 v2 to v3
|
# Switch scripts from s6 v2 to v3
|
||||||
#RUN if [ -f /etc/s6-overlay/s6-rc.d/init-custom-file/run ]; then mkdir "/custom-cont-init.d" && for SCRIPTS in /etc/cont-init.d/*; do [ -e "$SCRIPTS" ] || continue \
|
#RUN if [ -f /etc/s6-overlay/s6-rc.d/init-custom-file/run ]; then mkdir "/custom-cont-init.d" && for SCRIPTS in /etc/cont-init.d/*; do [ -e "$SCRIPTS" ] || continue \
|
||||||
|
|||||||
@@ -54,13 +54,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils"
|
keyutils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -51,13 +51,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -53,13 +53,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils"
|
keyutils"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -74,13 +74,8 @@ ENV PACKAGES="jq \
|
|||||||
nginx"
|
nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -50,13 +50,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -49,13 +49,8 @@ ENV PACKAGES="jq \
|
|||||||
nginx"
|
nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -49,13 +49,8 @@ ENV PACKAGES="jq \
|
|||||||
nginx"
|
nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -51,13 +51,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -54,13 +54,8 @@ ENV PACKAGES="jq \
|
|||||||
keyutils nginx"
|
keyutils nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -48,13 +48,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -104,13 +104,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -46,13 +46,9 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx mysql-client"
|
ENV PACKAGES="nginx mysql-client"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
################
|
################
|
||||||
|
|||||||
@@ -46,13 +46,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="libgles2-mesa libgles2-mesa-dev xorg-dev"
|
ENV PACKAGES="libgles2-mesa libgles2-mesa-dev xorg-dev"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -52,13 +52,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -61,13 +61,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -56,13 +56,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx"
|
ENV PACKAGES="nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -64,13 +64,8 @@ ENV PACKAGES="curl \
|
|||||||
nginx"
|
nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -49,13 +49,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ARG PACKAGES=""
|
ARG PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -60,13 +60,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="nginx engrampa"
|
ENV PACKAGES="nginx engrampa"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -59,13 +59,8 @@ ENV PACKAGES="jq \
|
|||||||
yamllint"
|
yamllint"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -57,12 +57,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES="sudo nginx"
|
ENV PACKAGES="sudo nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh || printf '%s\n' "${PACKAGES:-}" > /ENVFILE
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -51,13 +51,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -51,13 +51,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
@@ -56,13 +56,8 @@ RUN /ha_modules.sh "$MODULES" && rm /ha_modules.sh
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_modules.sh" "/ha_autoapps.sh"
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
|
||||||
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
|
||||||
&& chmod 777 /automatic_packages.sh \
|
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
|
||||||
&& rm /automatic_packages.sh
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
|
|||||||
Reference in New Issue
Block a user