16 lines
486 B
Docker
16 lines
486 B
Docker
FROM ubuntu:20.04
|
|
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
|