fix docker permission

This commit is contained in:
Paolo Asperti 2023-07-26 10:03:52 +02:00
parent 1045ebebd0
commit bcba8d258f
Signed by: paspo
GPG Key ID: 06D46905D19D5182
3 changed files with 12 additions and 3 deletions

View File

@ -5,7 +5,10 @@ ENV LANG C.UTF-8
COPY rootfs /
RUN apk add -U zabbix-agent2=6.0.13-r0 sudo
RUN \
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
addgroup -g 102 -S docker && \
addgroup zabbix docker
LABEL \
io.hass.version="0.2.4" \

View File

@ -5,7 +5,10 @@ ENV LANG C.UTF-8
COPY rootfs /
RUN apk add -U zabbix-agent2=6.0.13-r0 sudo
RUN \
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
addgroup -g 102 -S docker && \
addgroup zabbix docker
LABEL \
io.hass.version="0.2.4" \

View File

@ -5,7 +5,10 @@ ENV LANG C.UTF-8
COPY rootfs /
RUN apk add -U zabbix-agent2=6.0.13-r0 sudo
RUN \
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
addgroup -g 102 -S docker && \
addgroup zabbix docker
LABEL \
io.hass.version="0.2.4" \