This commit is contained in:
parent
be75b0a931
commit
ec86332290
|
@ -1,5 +1,6 @@
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
|
|
||||||
|
ENV TZ Etc/UTC
|
||||||
ENV NAME ups
|
ENV NAME ups
|
||||||
ENV DRIVER usbhid-ups
|
ENV DRIVER usbhid-ups
|
||||||
ENV PORT auto
|
ENV PORT auto
|
||||||
|
@ -9,8 +10,7 @@ ENV USERSSTRING #
|
||||||
|
|
||||||
#Installing default packages
|
#Installing default packages
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y \
|
RUN apt-get install -y nut-server
|
||||||
nut-server
|
|
||||||
|
|
||||||
#Apply configuration
|
#Apply configuration
|
||||||
RUN sed -i 's/MODE=none/MODE=netserver/g' /etc/nut/nut.conf \
|
RUN sed -i 's/MODE=none/MODE=netserver/g' /etc/nut/nut.conf \
|
||||||
|
|
Loading…
Reference in New Issue