update firefox

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-10-04 19:22:29 -04:00
parent 3ef9d78fe9
commit 963d37174d
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 7 additions and 6 deletions

View File

@ -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 "#! /bin/bash \n\
[ -e /dev/snd ] && exec apulse firefox || exec firefox \n\
" >/usr/local/bin/startfirefox && chmod +x /usr/local/bin/startfirefox
COPY entrypoint.sh /usr/bin/startfirefox
ENTRYPOINT [ "/usr/local/bin/startfirefox" ]
ENTRYPOINT [ "startfirefox" ]

3
firefox/entrypoint.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
[ -e /dev/snd ] && exec apulse firefox || exec firefox