Skip to content

Commit

Permalink
Fixes #31 to replace chrome binary with compatible chrome service.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Madison committed Mar 30, 2022
1 parent c21735e commit 788e9c9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ services:
xdebug: false
config:
php: .lando/php.ini
chromedriver:
type: compose
services:
image: isholgueras/chrome-headless:latest
# Lando always overrides the default entrypoint.
command: chromedriver --verbose --whitelisted-ips=
appserver:
build_as_root:
- apt-get update
- apt-get install libxss1
- echo "Run additional build commands here. Run lando rebuild after updating this file."
- curl -sL https://deb.nodesource.com/setup_14.x | bash -
- apt install -y nodejs
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- apt install -y ./google-chrome-stable_current_amd64.deb
- rm google-chrome-stable_current_amd64.deb
overrides:
# Pass SSH keys.
volumes:
Expand All @@ -30,8 +33,6 @@ services:
PHP_IDE_CONFIG: "serverName=appserver"
DRUSH_OPTIONS_URI: "https://<host_name>/"
SSH_AUTH_SOCK: /run/host-services/ssh-auth.sock
cap_add:
- SYS_ADMIN
tooling:
blt:
service: appserver
Expand Down

0 comments on commit 788e9c9

Please sign in to comment.