Files
ui/e2e/runner/Dockerfile
Oleksandr Bezdieniezhnykh 892654ae93
ci/woodpecker/push/build-arm Pipeline was successful
[AZ-456] Fix playwright-runner Dockerfile: install unzip before bun
The Playwright base image
(mcr.microsoft.com/playwright:v1.49.1-noble) ships without
unzip, which bun's curl|bash installer requires:

  error: unzip is required to install bun
  process "/bin/sh -c curl -fsSL https://bun.sh/install ..."
    did not complete successfully: exit code: 1

Found while user asked the agent to attempt to bring up the
suite-e2e compose stack. Latent bug — the runner image had
never been built successfully in any local workspace before.

Test report (test_run_report.md) updated with the concrete
error trace from the up attempt: the 6 azaion/<S>:test
service images are pull-access-denied (not in any reachable
registry from this host), confirming the legitimate
external-service env block. Local-build half (azaion-ui,
owm-stub, tile-stub, playwright-runner) is healthy.

No e2e tests were executed; Step 7 verdict unchanged
(PASS_WITH_DOCUMENTED_GATE; e2e deferred to CI / merge lane).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 07:13:39 +03:00

18 lines
661 B
Docker

FROM mcr.microsoft.com/playwright:v1.49.1-noble
WORKDIR /workspace
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# Bun is required by the project's package.json `packageManager` pin.
# `unzip` is the only runtime dep of `bun.sh/install` not present in the
# Playwright base image (noble); install it first to keep the install in
# one stable RUN layer.
RUN apt-get update \
&& apt-get install -y --no-install-recommends unzip \
&& rm -rf /var/lib/apt/lists/* \
&& curl -fsSL https://bun.sh/install | bash \
&& ln -s /root/.bun/bin/bun /usr/local/bin/bun
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]