mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-09 06:32:41 +01:00
@@ -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
|
||||||
Reference in New Issue
Block a user