Skip to content

Commit

Permalink
install cypress dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kaplan-shaked committed Jul 31, 2024
1 parent 536d4f8 commit 4d76243
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,9 @@ RUN apt-get update && apt-get install -y \
dphys-swapfile \
&& rm -rf /var/lib/apt/lists/*

# Install Xvfb
RUN apt-get update && apt-get install -y xvfb && rm -rf /var/lib/apt/lists/*

# Install libnss3 to solve the missing dependency issue
RUN apt-get update && apt-get install -y libnss3 && rm -rf /var/lib/apt/lists/*

# install cypress dependencies
RUN apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb -y && rm -rf /var/lib/apt/lists/*

# Configure swap file size
RUN echo "CONF_SWAPSIZE=10240" > /etc/dphys-swapfile
Expand Down

0 comments on commit 4d76243

Please sign in to comment.