dockerfiles/mpd/Dockerfile

17 lines
360 B
Docker
Raw Permalink Normal View History

2023-01-08 17:40:17 +01:00
FROM alpine:3.17
2022-03-07 16:56:50 +01:00
RUN mkdir -p /var/lib/mpd && \
addgroup --gid 10001 mpd && \
adduser \
--uid 10000 \
--home /var/lib/mpd \
--ingroup mpd \
--disabled-password \
--shell /sbin/nologin \
mpd && \
chown -R mpd /var/lib/mpd && \
apk add --no-cache mpd
USER mpd
CMD ["/usr/bin/mpd", "--no-daemon"]