From ad7b64caa0ad120676151f827514fb99af080717 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 24 Jan 2022 16:47:16 +0100 Subject: [PATCH] Update Dockerfile --- webtop/Dockerfile | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/webtop/Dockerfile b/webtop/Dockerfile index c47fc3008..82b0e7409 100644 --- a/webtop/Dockerfile +++ b/webtop/Dockerfile @@ -22,6 +22,15 @@ FROM ${BUILD_FROM}ubuntu-mate # 2 Modify Image # ################## +ARG CUSTOMREPOSITORIES="libreoffice/ppa +ubuntuhandbook1/darktable +mozillateam/ppa +stebbins/handbrake-releases +kritalime/ppa +team-xbmc/ppa +lutris-team/lutris +graphics-drivers/ppa" + # Allow UID and GID setting RUN sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \ && sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser \ @@ -30,12 +39,10 @@ RUN sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \ && sed -i 's|/config|/share/webtop|g' /defaults/* \ && sed -i 's|/config|/share/webtop|g' /etc/cont-init.d/* \ && sed -i 's|/config|/share/webtop|g' /etc/services.d/*/run \ - && usermod --home /share/webtop abc - -# Graphic drivers for rpi4 -# spellcheck disable=SC2015 -# hadolint ignore=SC2015 -RUN apt-get update && apt-get install -yqq --no-install-recommends libgles2-mesa libgles2-mesa-dev xorg-dev || true + && usermod --home /share/webtop abc \ + # Add custom repositories + && echo "Adding custom repository : " \ + && for repositories in $CUSTOMREPOSITORIES; do add-apt-repository ppa:$repositories >/dev/null || true; done ################## # 3 Install apps #