mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
setup chromium for testing
This commit is contained in:
parent
06209ad832
commit
90c54b6b1c
3 changed files with 6 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ RUN DEBIAN_FRONTEND=noninteractive ;\
|
|||
wget -q -O - https://packages.blackfire.io/gpg.key | apt-key add - && \
|
||||
echo "deb http://packages.blackfire.io/debian any main" >> /etc/apt/sources.list.d/blackfire.list && \
|
||||
apt-get update && \
|
||||
apt-get install --assume-yes blackfire procps ncat
|
||||
apt-get install --assume-yes blackfire procps ncat chromium
|
||||
|
||||
ADD configs/autoconfig_mariadb.php configs/autoconfig_mysql.php configs/autoconfig_pgsql.php configs/autoconfig_oci.php configs/s3.php configs/s3mb.php configs/swift.php configs/swiftv3.php configs/azure.php configs/config.php /root/
|
||||
ADD configs/nginx-app.conf /etc/nginx/
|
||||
|
|
@ -41,7 +41,7 @@ ADD configs/nginx-app.conf /etc/nginx/
|
|||
RUN mkdir --parent /var/log/cron
|
||||
ADD configs/cron.conf /etc/oc-cron.conf
|
||||
|
||||
ADD misc/bootstrap.sh misc/occ misc/tests misc/phpunit misc/install misc/occ misc/integration /usr/local/bin/
|
||||
ADD misc/bootstrap.sh misc/occ misc/tests misc/phpunit misc/install misc/occ misc/integration misc/chromium-no-sandbox /usr/local/bin/
|
||||
ADD configs/sudoers /etc/sudoers.d/haze
|
||||
ADD configs/.s3cfg configs/.gdbinit configs/.aws /home/haze/
|
||||
|
||||
|
|
|
|||
3
images/haze/misc/chromium-no-sandbox
Executable file
3
images/haze/misc/chromium-no-sandbox
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
chromium --no-sandbox $@
|
||||
|
|
@ -247,6 +247,7 @@ impl Cloud {
|
|||
|
||||
let mut env = vec![
|
||||
"PHP_IDE_CONFIG=serverName=haze".to_string(),
|
||||
"CHROMIUM_BIN=/usr/local/bin/chromium-no-sandbox".to_string(),
|
||||
format!("UID={}", uid),
|
||||
format!("GID={}", gid),
|
||||
format!("SQL={}", options.db.name()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue