added util-linux dependancy

This commit is contained in:
Paolo Asperti 2020-06-03 21:56:19 +02:00
parent 014f9bfbae
commit 4f6b00981a
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -10,7 +10,7 @@ COPY shutdown.sh /
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \ echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
apk add -U jq nut curl && \ apk add -U jq nut curl util-linux && \
mkdir /var/run/nut && \ mkdir /var/run/nut && \
chown root:nut /var/run/nut && \ chown root:nut /var/run/nut && \
chmod 770 /var/run/nut && \ chmod 770 /var/run/nut && \