better cleanup and cli-commands

This commit is contained in:
Kegan Myers 2020-06-28 22:03:57 -05:00
parent 197c7a9c10
commit 5d8f9f3680

View file

@ -1,3 +1,10 @@
FROM ubuntu:20.04
ADD https://github.com/badaix/snapcast/releases/download/v0.20.0/snapserver_0.20.0-1_amd64.deb snapserver.deb
RUN apt update && apt install -y ./snapserver.deb && rm snapserver.deb
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/*