From ec93692ae24d54b2a3ea10244c2c366293a50709 Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Thu, 1 Mar 2018 11:15:55 +0100 Subject: [PATCH] fix dnsmasq --- Dockerfile | 6 +++--- resolv.conf | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 resolv.conf diff --git a/Dockerfile b/Dockerfile index 56b2ec9..2741c40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,7 @@ RUN ln -sv librtmp.so.1 /usr/lib/x86_64-linux-gnu/librtmp.so.0 && \ ln -sv librtmp.so.1 /usr/lib/i386-linux-gnu/librtmp.so.0 # Workaround: Ubuntu 16.04 doesn't have libgcrypt11 nor libjson-c3, so we take -# then from trusty +# them from trusty # libcryptot11 is required by Half-Life based games # TODO: use debian mirrors if possible? ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_i386.deb /tmp/libgcrypt11_i386.deb @@ -62,10 +62,10 @@ RUN cd /tmp && \ RUN apt-get update && \ apt-get -y install dnsmasq COPY ./dnsmasq.conf /etc/dnsmasq.conf -RUN cp /etc/resolv.conf /etc/resolv.dnsmasq +COPY ./resolv.conf /etc/resolv.dnsmasq # Fix bug https://github.com/arno01/steam/issues/11 where Pulseaudio crashes -# microphone is accessed via push-to-talk. +# when 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 diff --git a/resolv.conf b/resolv.conf new file mode 100644 index 0000000..276c26b --- /dev/null +++ b/resolv.conf @@ -0,0 +1,2 @@ +nameserver 8.8.8.8 +nameserver 8.8.4.4