-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #26
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,22 @@ RUN apt-get update && apt-get -y install yarn | |
# Install ember-cli | ||
RUN npm install -g [email protected] | ||
|
||
# install chrome for default testem config | ||
RUN \ | ||
apt-get update &&\ | ||
apt-get install -y \ | ||
apt-transport-https \ | ||
gnupg \ | ||
--no-install-recommends &&\ | ||
curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - &&\ | ||
echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list &&\ | ||
apt-get update &&\ | ||
apt-get install -y \ | ||
google-chrome-stable \ | ||
--no-install-recommends | ||
|
||
# tweak chrome to run with --no-sandbox option | ||
RUN \ | ||
sed -i 's/"$@"/--no-sandbox "$@"/g' /opt/google/chrome/google-chrome | ||
|
||
WORKDIR /app |