fix: merge Dockerfile RUN commands into one

This commit is contained in:
Julian Lobbes 2022-09-10 16:25:38 +02:00
parent e0d512ea9b
commit 553f7c0b5f

View file

@ -3,9 +3,9 @@
# This Dockerfile builds a docker image for the beets music library manager.
FROM archlinux:latest
RUN pacman-key --init
RUN pacman -Syu --noconfirm
RUN pacman -S --noconfirm beets python python-pyacoustid chromaprint ffmpeg imagemagick python-requests
RUN pacman-key --init && \
pacman -Syu --noconfirm && \
pacman -S --noconfirm beets python python-pyacoustid chromaprint ffmpeg imagemagick python-requests && \
touch /var/log/beets.log
ENV BEETSDIR=/config
RUN touch /var/log/beets.log
CMD tail -f /var/log/beets.log