mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31: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 "#! /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
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