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