Initial apc-container
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user