Update Dockerfile

This commit is contained in:
Alexandre
2022-02-03 08:20:41 +01:00
committed by GitHub
parent d13732327a
commit cbd6639b26

View File

@@ -22,7 +22,7 @@ FROM ${BUILD_FROM}alpine-kde
# 2 Modify Image #
##################
ARG CUSTOMREPOSITORIES="http://dl-cdn.alpinelinux.org/alpine/edge/testing/"
ARG CUSTOMREPOSITORIES="http://dl-cdn.alpinelinux.org/alpine/edge/community http://dl-cdn.alpinelinux.org/alpine/edge/testing"
# Allow UID and GID setting
RUN sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
@@ -34,8 +34,8 @@ RUN sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
&& sed -i 's|/config|/share/webtop_kde|g' /etc/services.d/*/run \
&& usermod --home /share/webtop_kde abc
# Add custom repositories
# && echo "Adding custom repository : " \
# && for repositories in $CUSTOMREPOSITORIES; do apk add libgdiplus --repository=$repositories >/dev/null; done
&& if [ -f /etc/apk/repositories ]; then echo "Adding custom repository : " \
&& for repositories in $CUSTOMREPOSITORIES; do echo "$repositories" >> /etc/apk/repositories; done; fi
##################
# 3 Install apps #