Skip to content

Commit e6b52ca

Browse files
committed
Move Playwright installation from base to container
1 parent b9006f2 commit e6b52ca

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

Dockerfile.base

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ RUN apt-get update && apt-get install -y \
5050
tesseract-ocr geoip-bin geoipupdate \
5151
&& rm -rf /var/lib/apt/lists/*
5252

53-
# ============ PLAYWRIGHT DEPS ============
54-
RUN apt-get update && apt-get install -y \
55-
xvfb dbus libglib2.0-0 libnss3 libnspr4 libatk1.0-0 \
56-
libatk-bridge2.0-0 libcups2 libxkbcommon0 libatspi2.0-0 \
57-
libxcomposite1 libxdamage1 libgbm1 libpango-1.0-0 \
58-
libcairo2 libasound2 \
59-
&& mkdir -p /var/run/dbus \
60-
&& rm -rf /var/lib/apt/lists/*
61-
6253
# ============ DOCKER CLI ============
6354
RUN install -m 0755 -d /etc/apt/keyrings \
6455
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
@@ -78,13 +69,6 @@ ENV PATH="/opt/google-cloud-sdk/bin:${PATH}"
7869
# ============ GO SWAGGER (for apiv2) ============
7970
RUN go install github.com/go-swagger/go-swagger/cmd/swagger@v0.31.0
8071

81-
# ============ PLAYWRIGHT ============
82-
# Install @playwright/test and related packages globally, then install matching browsers
83-
# Version MUST match the version in iznik-nuxt3/package.json
84-
RUN npm install -g @playwright/test@1.52.0 monocart-reporter coveralls && \
85-
npx playwright install chromium && \
86-
npx playwright install-deps
87-
8872
# Remove packages that conflict with our setup
8973
RUN apt-get update && apt-get remove -y apache2* sendmail* mlocate php-ssh2 || true && rm -rf /var/lib/apt/lists/*
9074

iznik-nuxt3

iznik-nuxt3-modtools

0 commit comments

Comments
 (0)