fix: allow arm64 playwright install to finish in docker

This commit is contained in:
Nick Sweeting 2026-05-28 09:10:09 -07:00
parent f60b190182
commit ef4630752a
No known key found for this signature in database

View File

@ -319,7 +319,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T
&& apt-get update -qq \
&& if [ "$TARGETARCH" = "arm64" ]; then \
abxpkg install --binproviders=npm --overrides='{"npm":{"install_args":["playwright@next"]}}' playwright; \
abxpkg install --no-cache --binproviders=playwright --bin-dir="$LIB_DIR/env/bin" chromium; \
abxpkg install --no-cache --install-timeout=600 --binproviders=playwright --bin-dir="$LIB_DIR/env/bin" chromium; \
fi \
&& PUID=0 PGID=0 abx-dl plugins --install \
&& find "$LIB_DIR" -type d -name __pycache__ -prune -exec rm -rf {} + \