vagrant: install chrome in dev only

This commit is contained in:
Mahmood Ali 2019-09-06 16:11:16 -04:00
parent 0412de0947
commit 6920b4389e
2 changed files with 5 additions and 6 deletions

View File

@ -8,6 +8,11 @@ apt-get install -y \
silversearcher-ag \
vim
# Install Chrome for running tests (in headless mode)
wget -qO- - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
apt-get update
apt-get install -y google-chrome-stable
# Set hostname -> IP to make advertisement work as expected
ip=$(ip route get 1 | awk '{print $NF; exit}')

View File

@ -15,9 +15,3 @@ npm install -g ember-cli
# Install Yarn for front-end dependency management
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
# Install Chrome for running tests (in headless mode)
wget -qO- - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install -y google-chrome-stable