From f515a9ecf9c9043950b780abebd072401c41eb55 Mon Sep 17 00:00:00 2001 From: paspo Date: Thu, 22 Nov 2018 10:28:32 +0100 Subject: [PATCH] fixed repositories for building --- upsmon/Dockerfile | 4 ++-- upsmon/config.json | 2 +- upsmon/repositories | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 upsmon/repositories diff --git a/upsmon/Dockerfile b/upsmon/Dockerfile index 177d45f..950130f 100644 --- a/upsmon/Dockerfile +++ b/upsmon/Dockerfile @@ -3,8 +3,8 @@ FROM $BUILD_FROM ENV LANG C.UTF-8 -RUN apk add --no-cache jq -RUN apk add nut --update-cache --repository http://nl.alpinelinux.org/alpine/edge/testing/ +COPY repositories /etc/apk +RUN apk add -U jq nut RUN mkdir /var/run/nut RUN chown root:nut /var/run/nut diff --git a/upsmon/config.json b/upsmon/config.json index 7940f38..bb4f8ca 100644 --- a/upsmon/config.json +++ b/upsmon/config.json @@ -1,7 +1,7 @@ { "name": "Network UPS Tools - netclient", "url": "https://git.asperti.com/paspo/hassio-addons", - "version": "0.1.4", + "version": "0.1.5", "slug": "upsmon", "description": "Connect to a remote NUT server", "startup": "before", diff --git a/upsmon/repositories b/upsmon/repositories new file mode 100644 index 0000000..4bfbbae --- /dev/null +++ b/upsmon/repositories @@ -0,0 +1,3 @@ +http://dl-cdn.alpinelinux.org/alpine/edge/main +http://dl-cdn.alpinelinux.org/alpine/edge/community +http://dl-cdn.alpinelinux.org/alpine/edge/testing