-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathDockerfile.arm32
More file actions
35 lines (32 loc) · 1.01 KB
/
Dockerfile.arm32
File metadata and controls
35 lines (32 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM balenalib/raspberry-pi-alpine:3.9
MAINTAINER Rich Braun "docker@instantlinux.net"
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.license=GPL-2.0 \
org.label-schema.name=nut-upsd \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url=https://github.com/instantlinux/docker-tools
ARG NUT_VERSION=2.7.4-r10
ENV API_USER=upsmon \
DESCRIPTION=UPS \
DRIVER=usbhid-ups \
GROUP=nut \
NAME=ups \
POLLINTERVAL= \
PORT=auto \
SDORDER= \
SECRET=nut-upsd-password \
SERIAL= \
SERVER=master \
USER=nut \
VENDORID=
RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' \
>>/etc/apk/repositories && \
echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' \
>>/etc/apk/repositories && \
apk add --update nut@testing=$NUT_VERSION \
libcrypto1.1@edge libssl1.1@edge net-snmp-libs@edge tini
EXPOSE 3493
COPY entrypoint.sh /usr/local/bin/
ENTRYPOINT /usr/local/bin/entrypoint.sh