From a72c571b93222339ee81ca6a206848d4b5ee2589 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 26 Oct 2016 12:35:39 +0200 Subject: [PATCH] Dockerfile: disable pulseaudio shm feature. Fix #11 --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 17f4215..948e6bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,7 @@ RUN echo "deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise stea # Workaround missing lib in .local/share/Steam/ubuntu12_32/steamclient.so RUN ln -sv libudev.so.1 /lib/i386-linux-gnu/libudev.so.0 -# Workaround: Ubuntu 16.04 doesn't have libgcrypt11 nor libjson-c3, so we take +# Workaround: Ubuntu 16.04 doesn't have libgcrypt11 nor libjson-c3, so we take # then from trusty # libcryptot11 is required by Half-Life based games # TODO: use debian mirrors if possible? @@ -54,6 +54,10 @@ RUN cd /tmp && \ rm -f *.deb +# Fix bug https://github.com/arno01/steam/issues/11 where Pulseaudio crashes +# microphone is accessed via push-to-talk. +RUN echo "enable-shm = no" >> /etc/pulse/client.conf + # locale-gen: Generate locales based on /etc/locale.gen file # update-locale: Generate config /etc/default/locale (later read by /etc/pam.d/su, /etc/pam.d/login, /etc/pam.d/polkit-1) RUN sed -i.orig '/^# en_US.UTF-8.*/s/^#.//g' /etc/locale.gen && \