Set permissions for vzlogger configuration.
This commit is contained in:
@@ -75,6 +75,8 @@ COPY --from=builder /usr/local/bin/vzlogger /usr/local/bin/vzlogger
|
|||||||
COPY --from=builder /usr/local/lib/libmbus.so* /usr/local/lib/
|
COPY --from=builder /usr/local/lib/libmbus.so* /usr/local/lib/
|
||||||
COPY ./vzlogger.conf /etc/vzlogger.conf
|
COPY ./vzlogger.conf /etc/vzlogger.conf
|
||||||
|
|
||||||
|
RUN chown vz:vz /etc/vzlogger.conf
|
||||||
|
|
||||||
# without running a user context, no exec is possible and without the dialout group no access to usb ir reader possible
|
# without running a user context, no exec is possible and without the dialout group no access to usb ir reader possible
|
||||||
RUN adduser -S vz -G dialout
|
RUN adduser -S vz -G dialout
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user