snapcast-server/Dockerfile

16 lines
486 B
Docker
Raw Permalink Normal View History

2020-06-29 02:37:50 +00:00
FROM ubuntu:20.04
2020-06-29 03:03:57 +00:00
RUN apt-get update && \
apt-get install curl -y && \
curl -L https://github.com/badaix/snapcast/releases/download/v0.20.0/snapserver_0.20.0-1_amd64.deb > snapserver.deb && \
apt install ./snapserver.deb -y && \
rm snapserver.deb && \
apt-get remove curl -y && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ADD snapserver.conf /etc/snapserver.conf
EXPOSE 1780
EXPOSE 1705
EXPOSE 1704
CMD snapserver -c /etc/snapserver.conf