From 0821c37883ffa4a7c99f2112098e3155e9701c68 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 10 Dec 2021 07:36:35 +0100 Subject: [PATCH] Update Dockerfile --- nextcloud/Dockerfile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 17b51b723..8ad326384 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -1,11 +1,18 @@ +############### +# Build Image # +############### + ARG BUILD_FROM ARG BUILD_VERSION +ARG BUILD_ARCH ARG BUILD_UPSTREAM="23.0.0" - FROM ${BUILD_FROM} +################ +# Modify Image # +################ + ENV NEXTCLOUD_PATH="/data/config/www/nextcloud" -ARG BUILD_ARCH RUN \ chmod +x /defaults/nextcloud-perms.sh \ @@ -19,13 +26,10 @@ RUN \ # Install apps # ################ -# Add rootfs COPY root/ / -# Manual apps ENV PACKAGES="curl jq wget gcompat@community" -# Automatic apps & bashio RUN $(ls /bin/bash &>/dev/null) || (apt-get install -y --no-install-recommends bash || apk add --no-cache bash) && \ $(curl --help &>/dev/null) || (apt-get install -y --no-install-recommends curl || apk add --no-cache curl) && \ curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output /automatic_packages.sh && \