dockerfiles/spotify/Dockerfile

28 lines
835 B
Docker
Raw Normal View History

2015-04-28 19:33:32 +02:00
# Run spotify in a container
#
# docker run -d \
# -v /etc/localtime:/etc/localtime:ro \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# --device /dev/snd:/dev/snd \
# -v $HOME/.spotify/config:/root/.config/spotify \
# -v $HOME/.spotify/cache:/root/.cache/spotify \
# --name spotify \
# jess/spotify
#
2015-02-13 01:40:20 +01:00
FROM ubuntu:14.04
2015-02-10 03:03:51 +01:00
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \
2015-02-13 01:40:20 +01:00
libpangoxft-1.0-0 \
alsa-utils \
software-properties-common \
2015-02-10 03:03:51 +01:00
--no-install-recommends && \
2015-02-13 01:40:20 +01:00
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 && \
echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list.d/spotify.list && \
2015-02-10 03:03:51 +01:00
apt-get update && \
apt-get install -y \
2015-02-13 01:40:20 +01:00
spotify-client
2015-02-10 03:03:51 +01:00
2015-02-13 01:40:20 +01:00
ENTRYPOINT [ "/usr/bin/spotify" ]