From ed504dadfcd0a112ab00103124ebb561d3429f25 Mon Sep 17 00:00:00 2001 From: Rory McCune Date: Sat, 19 Dec 2015 12:53:23 +0000 Subject: [PATCH] Add Libcanberra-gtk-module Adding libcanberra-gtk-module to fix a crash when running this Dockerfile on unbuntu 14.04 ``` root@fb9f5404a971:/# firefox (firefox:5): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: Failed to load module "canberra-gtk-module" [5] ###!!! ABORT: X_ShmPutImage: BadValue (integer parameter out of range for operation); 9 requests ago: file /builds/slave/rel-m-rel-l64_bld-000000000000/build/toolkit/xre/nsX11ErrorHandler.cpp, line 157 [5] ###!!! ABORT: X_ShmPutImage: BadValue (integer parameter out of range for operation); 9 requests ago: file /builds/slave/rel-m-rel-l64_bld-000000000000/build/toolkit/xre/nsX11ErrorHandler.cpp, line 157 root@fb9f5404a971:/# (process:36): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: Failed to load module "canberra-gtk-module" ``` --- firefox/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/firefox/Dockerfile b/firefox/Dockerfile index dc29ff6..d164232 100644 --- a/firefox/Dockerfile +++ b/firefox/Dockerfile @@ -12,6 +12,7 @@ RUN sed -i.bak 's/sid main/sid main contrib/g' /etc/apt/sources.list && \ libdbus-glib-1-2 \ libgl1-mesa-dri \ libgl1-mesa-glx \ + libcanberra-gtk-module \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/*