add pulseaudio to connect to spotify

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle 2015-06-18 18:02:52 -07:00
parent 6e6c2cc33e
commit 30102dc692

39
steam/Dockerfile Normal file
View File

@ -0,0 +1,39 @@
# Steam in a container
#
# WARNING: you cannot use this unless
# your graphics libs are the exact same version as the ones
# in the container, so don't even try
# or email me or any of the nonsense. if you really
# want to run this you have to use your brain.
# I will not hold your hand.
FROM debian:sid
RUN sed -i.bak 's/sid main/sid main contrib non-free/g' /etc/apt/sources.list \
&& dpkg --add-architecture i386 \
&& apt-get update && apt-get install -y --fix-missing \
binutils \
libc6:i386 \
libgl1-mesa-dri:i386 \
libgl1-mesa-glx:i386 \
sudo \
steam \
wget
ENV HOME /home/steam
# let's head off a few of the things steam will want to install immediately
RUN adduser --disabled-password --gecos 'Steam' steam \
&& usermod -aG video,audio steam \
&& cd /tmp \
&& wget http://snapshot.debian.org/archive/debian/20140810T163814Z/pool/main/libd/libdrm/libdrm-intel1_2.4.56-1_i386.deb \
&& wget http://snapshot.debian.org/archive/debian/20140810T163814Z/pool/main/libd/libdrm/libdrm-intel1_2.4.56-1_amd64.deb \
&& ar p libdrm-intel1_2.4.56-1_i386.deb data.tar.xz | tar xvJ \
&& cp -r ./usr/lib/i386-linux-gnu/* /usr/lib/i386-linux-gnu/ \
&& cp -r ./usr/lib/i386-linux-gnu/* $HOME/.steam/ubuntu12_32/steam-runtime/i386/ \
&& ar p libdrm-intel1_2.4.56-1_amd64.deb data.tar.xz | tar xvJ \
&& cp -r ./usr/lib/x86_64-linux-gnu/* /usr/lib/x86_64-linux-gnu/ \
&& cp -r ./usr/lib/x86_64-linux-gnu/* $HOME/.steam/ubuntu12_64/
USER steam
CMD ["steam"]