mirror of
https://github.com/woodchen-ink/docker-firefox.git
synced 2025-07-18 05:42:00 +08:00
Keep usage of mesa drivers for WebGL support.
This commit is contained in:
parent
6d92c42446
commit
710d0195aa
10
rootfs/etc/cont-env.d/LIBGL_DRIVERS_PATH
Executable file
10
rootfs/etc/cont-env.d/LIBGL_DRIVERS_PATH
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e # Exit immediately if a command exits with a non-zero status.
|
||||
set -u # Treat unset variables as an error.
|
||||
|
||||
# Override what is set by the baseimage and do not set the variable. Needed for
|
||||
# WebGL support.
|
||||
exit 100
|
||||
|
||||
# vim:ft=sh:ts=4:sw=4:et:sts=4
|
Loading…
x
Reference in New Issue
Block a user