mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 14:22:40 +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 "#! /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
|
||||
Reference in New Issue
Block a user