From 6f1e2bf2a553fb74661161210e2bfb79fc7462ac Mon Sep 17 00:00:00 2001 From: Krystan Honour Date: Tue, 9 Jan 2018 18:20:49 +0000 Subject: [PATCH] Added libcanberra-gtk and dev, and minor alteration to usage script at top. (#328) * added libcanberra-gtk, and dev to stop gtk errors on startup of chrome, also updated the usage command at the top to show a device that is required * fixed spacing in example --- chrome/beta/Dockerfile | 2 ++ chrome/stable/Dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/chrome/beta/Dockerfile b/chrome/beta/Dockerfile index 1217464..fed2fd9 100644 --- a/chrome/beta/Dockerfile +++ b/chrome/beta/Dockerfile @@ -10,6 +10,7 @@ # -v $HOME/.config/google-chrome/:/data \ # if you want to save state # --security-opt seccomp=$HOME/chrome.json \ # --device /dev/snd \ # so we have sound +# --device /dev/dri \ # -v /dev/shm:/dev/shm \ # --name chrome \ # jess/chrome:beta @@ -26,6 +27,7 @@ ADD https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb /src/ # Install Chrome RUN apt-get update && apt-get install -y \ apt-transport-https \ + libcanberra-gtk* \ ca-certificates \ curl \ gnupg \ diff --git a/chrome/stable/Dockerfile b/chrome/stable/Dockerfile index e8a705e..001c078 100644 --- a/chrome/stable/Dockerfile +++ b/chrome/stable/Dockerfile @@ -10,6 +10,7 @@ # -v $HOME/.config/google-chrome/:/data \ # if you want to save state # --security-opt seccomp=$HOME/chrome.json \ # --device /dev/snd \ # so we have sound +# --device /dev/dri \ # -v /dev/shm:/dev/shm \ # --name chrome \ # jess/chrome @@ -25,6 +26,7 @@ ADD https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb /src/ # Install Chrome RUN apt-get update && apt-get install -y \ + libcanberra-gtk* \ apt-transport-https \ ca-certificates \ curl \