mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-14 11:28:02 +02:00
Update Dockerfile
This commit is contained in:
@@ -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 #
|
||||
|
||||
Reference in New Issue
Block a user