mirror of
https://github.com/azaion/ui.git
synced 2026-06-21 11:31:11 +00:00
[AZ-456] Fix playwright-runner Dockerfile: install unzip before bun
ci/woodpecker/push/build-arm Pipeline was successful
ci/woodpecker/push/build-arm Pipeline was successful
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>
This commit is contained in:
@@ -5,7 +5,13 @@ 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.
|
||||
RUN curl -fsSL https://bun.sh/install | bash \
|
||||
# `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"]
|
||||
|
||||
Reference in New Issue
Block a user