Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmithabandari authored Feb 27, 2025
1 parent 91d0ad6 commit 8b1f4df
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions Dockerfile
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



0 comments on commit 8b1f4df

Please sign in to comment.