27 lines
568 B
Docker
27 lines
568 B
Docker
# syntax=docker/dockerfile:1.4
|
|
FROM archlinux
|
|
|
|
|
|
RUN pacman -Sy \
|
|
&& pacman --noconfirm -S xterm alsa-utils alsa-plugins libpulse
|
|
ENV PULSE_SERVER unix:/tmp/psock/pulseaudio.socket
|
|
COPY <<EOF /root/.asoundrc
|
|
pcm.!default {
|
|
type pulse
|
|
fallback "sysdefault"
|
|
hint {
|
|
show on
|
|
description "Default ALSA output (currently PulseAudio Sound Server)"
|
|
}
|
|
}
|
|
ctl.!default {
|
|
type pulse
|
|
fallback "sysdefault"
|
|
}
|
|
EOF
|
|
|
|
|
|
RUN pacman -Sy\
|
|
&& pacman --noconfirm -S community/musescore
|
|
|
|
CMD mscore |