initial commit
This commit is contained in:
17
upsmon/Dockerfile
Normal file
17
upsmon/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
ARG BUILD_FROM
|
||||
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/
|
||||
|
||||
RUN mkdir /var/run/nut
|
||||
RUN chown root:nut /var/run/nut
|
||||
RUN chmod 770 /var/run/nut
|
||||
|
||||
# Copy data for add-on
|
||||
COPY run.sh /
|
||||
RUN chmod a+x /run.sh
|
||||
|
||||
CMD [ "/run.sh" ]
|
||||
Reference in New Issue
Block a user