-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91d0ad6
commit 8b1f4df
Showing
1 changed file
with
19 additions
and
7 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 |
---|---|---|
@@ -1,15 +1,27 @@ | ||
FROM node:20.17 | ||
|
||
# Install Google Chrome | ||
RUN apt-get update && \ | ||
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \ | ||
apt install --assume-yes \ | ||
# Install required dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
wget \ | ||
curl \ | ||
libgbm-dev \ | ||
zip \ | ||
rsync \ | ||
jinja-cli \ | ||
./google-chrome-stable_current_amd64.deb &&\ | ||
rm google-chrome-stable_current_amd64.deb &&\ | ||
npm install -g @getgauge/cli | ||
fonts-liberation \ | ||
libappindicator3-1 \ | ||
xdg-utils \ | ||
libasound2 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install Google Chrome properly | ||
RUN wget -q -O /tmp/google-chrome-stable_current_amd64.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \ | ||
apt-get update && \ | ||
apt-get install -y ./tmp/google-chrome-stable_current_amd64.deb || apt-get -fy install && \ | ||
rm -f /tmp/google-chrome-stable_current_amd64.deb | ||
|
||
# Install Gauge CLI | ||
RUN npm install -g @getgauge/cli | ||
|
||
|
||
|