Initial apc-container

This commit is contained in:
Christian Steinle
2022-06-20 10:15:22 +02:00
commit dfcc5d7e13
3 changed files with 840 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM alpine:latest
RUN apk update && apk upgrade
RUN apk add --no-cache libusb apcupsd apcupsd-doc apcupsd-webif apache2
COPY apache2.conf /etc/apache2/httpd.conf
COPY apc-deamon.conf /etc/apcupsd/apcupsd.conf
EXPOSE 80 3551/tcp 3551/udp
ENTRYPOINT httpd -k start && /sbin/apcupsd -b