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
This commit is contained in:
Krystan Honour 2018-01-09 18:20:49 +00:00 committed by Jess Frazelle
parent 0bddd480a4
commit 6f1e2bf2a5
2 changed files with 4 additions and 0 deletions

View File

@ -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 \

View File

@ -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 \