mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2025-06-26 04:21:22 +02:00
trigger pipeline to build all imgs
This commit is contained in:
parent
6e49ce48ad
commit
f1fe0f9539
@ -21,7 +21,7 @@ done
|
|||||||
# Creating a default profile
|
# Creating a default profile
|
||||||
firefox -headless -CreateProfile "kasm $HOME/.mozilla/firefox/kasm"
|
firefox -headless -CreateProfile "kasm $HOME/.mozilla/firefox/kasm"
|
||||||
|
|
||||||
# For alpine 3.20 and later, firefox version shows a security nag. Silence it.
|
# For alpine 3.20 and later, firefox version shows a security nag. Silence it..
|
||||||
if [ "$(printf '%s\n' 3.20 $(cat /etc/alpine-release) | sort -V | head -n 1)" = "3.20" ]; then
|
if [ "$(printf '%s\n' 3.20 $(cat /etc/alpine-release) | sort -V | head -n 1)" = "3.20" ]; then
|
||||||
echo 'user_pref("security.sandbox.warn_unprivileged_namespaces", false);' > $HOME/.mozilla/firefox/kasm/user.js
|
echo 'user_pref("security.sandbox.warn_unprivileged_namespaces", false);' > $HOME/.mozilla/firefox/kasm/user.js
|
||||||
chown 1000:1000 $HOME/.mozilla/firefox/kasm/user.js
|
chown 1000:1000 $HOME/.mozilla/firefox/kasm/user.js
|
||||||
|
@ -176,7 +176,7 @@ else
|
|||||||
firefox -headless -CreateProfile "kasm $HOME/.mozilla/firefox/kasm"
|
firefox -headless -CreateProfile "kasm $HOME/.mozilla/firefox/kasm"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Silence Firefox security nag "Some of Firefox's features may offer less protection on your current operating system"
|
# Silence Firefox security nag "Some of Firefox's features may offer less protection on your current operating system".
|
||||||
echo 'user_pref("security.sandbox.warn_unprivileged_namespaces", false);' > $HOME/.mozilla/firefox/kasm/user.js
|
echo 'user_pref("security.sandbox.warn_unprivileged_namespaces", false);' > $HOME/.mozilla/firefox/kasm/user.js
|
||||||
chown 1000:1000 $HOME/.mozilla/firefox/kasm/user.js
|
chown 1000:1000 $HOME/.mozilla/firefox/kasm/user.js
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user