Automatic packages

This commit is contained in:
Alexandre
2021-12-08 11:27:59 +01:00
committed by GitHub
parent 45061e0f83
commit b6435680b5

View File

@@ -2,11 +2,7 @@ ARG BUILD_FROM
ARG BUILD_VERSION ARG BUILD_VERSION
FROM ${BUILD_FROM} FROM ${BUILD_FROM}
ENV BASHIO_VERSION=0.14.3 ENV BASHIO_VERSION=0.14.3
ENV PACKAGES="jq \ ENV PACKAGES=""
cifs-utils \
keyutils \
samba \
smbclient"
# Set shell # Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
@@ -15,9 +11,10 @@ RUN \
################ ################
# Install apps # # Install apps #
################ ################
apt-get clean \ cd / && \
&& apt-get update \ curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output automatic_packages.sh && \
&& apt-get install -y --no-install-recommends ${PACKAGES} \ chmod 777 automatic_packages.sh && \
$(./automatic_packages.sh) \
\ \
################## ##################
# Install bashio # # Install bashio #