Skip to content

Commit

Permalink
firefox: fix xauthority default mount
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Aug 16, 2024
1 parent 6c13e72 commit 05583eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/bin/firefox
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export RUNNER_IMAGE="${RUNNER_IMAGE:-${FIREFOX_RUNNER_IMAGE:-localhost/l7/firefo
export RUNNER_ENV="${RUNNER_ENV} DISPLAY=${L7_DISPLAY:-${DISPLAY}}"
export RUNNER_ENV="${RUNNER_ENV} XAUTHORITY=/etc/x11/xauthority/Xauthority"

if [ -n "${L7_XAUTHORITY}" ]; then
if [[ -n "${L7_XAUTHORITY}" ]] && [[ -z "${L7_XAUTHORITY_VOLUME}" ]]; then
export RUNNER_VOLS="${L7_XAUTHORITY}:/etc/x11/xauthority/Xauthority:Z ${RUNNER_VOLS}"
else
export RUNNER_VOLS="${L7_XAUTHORITY_VOLUME:-l7_dev_desktop_x11_xauthority}:/etc/x11/xauthority:Z ${RUNNER_VOLS}"
Expand Down

0 comments on commit 05583eb

Please sign in to comment.