Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit b151b00

Browse files
committed
fix(ci-base): adds better deps structure + more cypress deps into the ci-base image
1 parent ee467b6 commit b151b00

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

component/ci-base/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,30 @@ RUN set -eux; \
3232
containerd.io \
3333
docker-buildx-plugin \
3434
docker-compose-plugin \
35+
; \
36+
rm -rf /var/lib/apt/lists/*
37+
38+
# Install Cypress Dependencies
39+
RUN apt-get update; \
40+
apt-get install -y --no-install-recommends \
3541
xvfb \
3642
libgtk2.0-0 \
3743
libnss3 \
3844
libatk-bridge2.0-0 \
3945
libgtk-3-0 \
4046
libgdm-dev \
47+
libgbm1 \
48+
libwayland-server0 \
4149
libasound2 \
4250
; \
4351
rm -rf /var/lib/apt/lists/*
4452

53+
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
54+
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
55+
&& apt-get update \
56+
&& apt-get install -y google-chrome-stable libxss1 \
57+
--no-install-recommends \
58+
4559
RUN set -eux; \
4660
useradd --create-home --shell /bin/bash --uid "${USER_UID}" ci; \
4761
echo 'ci ALL=(ALL:ALL) NOPASSWD: ALL' >/etc/sudoers.d/ci; \

0 commit comments

Comments
 (0)