]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Docker/Alpine: Remove USB group
authorOlliver Schinagl <oliver@schinagl.nl>
Mon, 3 Jun 2024 14:09:17 +0000 (16:09 +0200)
committerFlole <Flole998@users.noreply.github.com>
Wed, 5 Jun 2024 21:47:14 +0000 (23:47 +0200)
The USB group has been removed from upstream alpine in commit
bb00d0e4f345 ("main/alpine-baselayout: remove mem and usb group") which
was a fixup on commit
f16d0754d601 ("main/alpine-baselayout: remove unused/moved users and groups")

Lets remove it here as well as we cannot join the group any longer.

Besides, device access is probably better managed with host specific
udev rules.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Containerfile.alpine

index 0d501df9df7ef7a9ad86e1fa447b8de68efd4ac7..a49177edc38dc95692654b3ea91124bf759fa412 100644 (file)
@@ -116,7 +116,6 @@ RUN apk add --no-cache \
     addgroup -S 'tvheadend' && \
     adduser -D -G 'tvheadend' -h '/var/lib/tvheadend' -s '/bin/nologin' -S 'tvheadend' && \
     adduser 'tvheadend' 'audio' && \
-    adduser 'tvheadend' 'usb' && \
     adduser 'tvheadend' 'video' && \
     install -d -m 775 -g 'tvheadend' -o 'tvheadend' '/var/lib/tvheadend/recordings' && \
     install -d -m 775 -g 'tvheadend' -o 'tvheadend' '/var/log/tvheadend'