15 lines
500 B
Docker
15 lines
500 B
Docker
FROM debian:bookworm-slim
|
|
ARG VERSION=0.35.0
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN ARCH=$(dpkg --print-architecture) \
|
|
&& curl -L "https://github.com/badaix/snapcast/releases/download/v${VERSION}/snapclient_${VERSION}-1_${ARCH}_bookworm.deb" -o /tmp/snapclient.deb \
|
|
&& dpkg -i /tmp/snapclient.deb || apt-get install -fy \
|
|
&& rm /tmp/snapclient.deb
|
|
|
|
ENTRYPOINT ["/usr/bin/snapclient"]
|