File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11ARG BASE_IMAGE
2- FROM ${BASE_IMAGE}
2+ FROM ${BASE_IMAGE} AS BASE
33ARG USE_APT_PROXY
44
55RUN mkdir -p /app/bin
@@ -17,13 +17,24 @@ RUN if [ "$USE_APT_PROXY" = "Y" ]; then \
1717 fi
1818
1919RUN apt-get update
20- RUN apt-get upgrade -y
2120RUN apt-get install -y libasound2
2221RUN apt-get install -y alsa-utils
2322
2423RUN apt-get -y install curl
2524RUN curl -sL https://dtcooper.github.io/raspotify/install.sh | sh
2625
26+ RUN if [ "$USE_APT_PROXY" = "Y" ]; then \
27+ rm /etc/apt/apt.conf.d/01-apt-proxy; \
28+ fi
29+
30+ RUN rm -rf /var/lib/apt/lists/*
31+
32+ FROM scratch
33+ COPY --from=BASE / /
34+
35+ LABEL maintainer="GioF71"
36+ LABEL source="https://github.com/GioF71/librespot-docker"
37+
2738ENV SPOTIFY_USERNAME ""
2839ENV SPOTIFY_PASSWORD ""
2940
Original file line number Diff line number Diff line change @@ -338,6 +338,7 @@ Just be careful to use the tag you have built.
338338
339339Change Date|Major Changes
340340---|---
341+ 2023-09-05|Clean Dockerfile (see [ #73 ] ( https://github.com/GioF71/librespot-docker/issues/73 ) )
3413422023-06-23|Pass device name in quotes (see [ #67 ] ( https://github.com/GioF71/librespot-docker/issues/67 ) )
3423432023-06-23|Daily builds update ` latest ` images
3433442023-06-23|Add support for ` bookworm `
You can’t perform that action at this time.
0 commit comments