2021-01-02 16:54:47 +01:00
|
|
|
FROM debian
|
|
|
|
|
2021-01-08 12:50:14 +01:00
|
|
|
ENV NAME ups
|
2021-01-02 16:54:47 +01:00
|
|
|
ENV DRIVER usbhid-ups
|
|
|
|
ENV PORT auto
|
|
|
|
ENV POLLFREQ 5
|
|
|
|
ENV DESC UPS
|
2021-01-08 12:50:14 +01:00
|
|
|
ENV USERSSTRING #
|
2021-01-02 16:54:47 +01:00
|
|
|
|
2021-01-08 10:41:33 +01:00
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get -y install nut-server
|
2021-01-02 16:54:47 +01:00
|
|
|
|
|
|
|
COPY entrypoint.sh /
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
|
|
|
|
EXPOSE 3493
|