mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-02-17 09:37:49 +01:00
update firefox
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
3ef9d78fe9
commit
963d37174d
|
@ -25,8 +25,6 @@ COPY local.conf /etc/fonts/local.conf
|
||||||
|
|
||||||
RUN echo 'pref("browser.tabs.remote.autostart", false);' >> /etc/firefox/syspref.js
|
RUN echo 'pref("browser.tabs.remote.autostart", false);' >> /etc/firefox/syspref.js
|
||||||
|
|
||||||
RUN echo "#! /bin/bash \n\
|
COPY entrypoint.sh /usr/bin/startfirefox
|
||||||
[ -e /dev/snd ] && exec apulse firefox || exec firefox \n\
|
|
||||||
" >/usr/local/bin/startfirefox && chmod +x /usr/local/bin/startfirefox
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/local/bin/startfirefox" ]
|
ENTRYPOINT [ "startfirefox" ]
|
||||||
|
|
3
firefox/entrypoint.sh
Executable file
3
firefox/entrypoint.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
[ -e /dev/snd ] && exec apulse firefox || exec firefox
|
Loading…
Reference in New Issue
Block a user