Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spotify gpg url #591

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions spotify/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,43 @@
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# --device /dev/snd:/dev/snd \
# -v $HOME/.spotify/config:/home/spotify/.config/spotify \
# -v $HOME/.spotify/cache:/home/spotify/spotify \
# -v $HOME/.config/spotify:/home/spotify/.config/spotify \
# -v $HOME/.cache/spotify:/home/spotify/.cache/spotify \
# --name spotify \
# jess/spotify
#
FROM debian:sid-slim
LABEL maintainer "Jessie Frazelle <[email protected]>"

RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install --no-install-recommends --yes \
ca-certificates \
curl \
dirmngr \
gnupg \
--no-install-recommends \
&& curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | apt-key add - \
&& curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg \
&& echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list.d/spotify.list \
&& apt-get update && apt-get install -y \
&& apt-get update && apt-get install --no-install-recommends --yes \
alsa-utils \
libgl1-mesa-dri \
libgl1-mesa-glx \
libpulse0 \
libsm6 \
spotify-client \
xdg-utils \
--no-install-recommends \
fonts-droid-fallback \
libcanberra-gtk3-module \
&& apt-get remove --yes \
ca-certificates \
curl \
dirmngr \
gnupg \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/apt/lists/*

ENV HOME /home/spotify
RUN useradd --create-home --home-dir $HOME spotify \
&& gpasswd -a spotify audio \
&& mkdir $HOME/.config $HOME/.cache \
&& chown -R spotify:spotify $HOME

WORKDIR $HOME
Expand Down