playwright (production)
Published 2025-02-12 11:14:02 -05:00 by colin
Installation
docker pull git.nixc.us/colin/playwright:productionsha256:6cbd5e851974e1ba20cecc8f6085780fbd4a8e276bc6cfdef4526806946ac63dImage Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=20.04 |
| ADD file:d05d1c0936b046937bd5755876db2f8da3ed8ccbcf464bb56c312fbc7ed78589 in / |
| CMD ["/bin/bash"] |
| ARG DEBIAN_FRONTEND=noninteractive |
| ARG TZ=America/Los_Angeles |
| ARG DOCKER_IMAGE_NAME_TEMPLATE=mcr.microsoft.com/playwright:v%version%-focal |
| |3 DEBIAN_FRONTEND=noninteractive DOCKER_IMAGE_NAME_TEMPLATE=mcr.microsoft.com/playwright:v%version%-focal TZ=America/Los_Angeles /bin/sh -c apt-get update && apt-get install -y curl wget gpg && curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs && apt-get install -y --no-install-recommends git openssh-client && npm install -g yarn && rm -rf /var/lib/apt/lists/* && adduser pwuser |
| ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright |
| COPY file:32b9968887236d1ffb70ac720d5d224b360c3f57b0b7f72ad98bd722e391c7cc in /tmp/playwright-core.tar.gz |
| |3 DEBIAN_FRONTEND=noninteractive DOCKER_IMAGE_NAME_TEMPLATE=mcr.microsoft.com/playwright:v%version%-focal TZ=America/Los_Angeles /bin/sh -c mkdir /ms-playwright && mkdir /ms-playwright-agent && cd /ms-playwright-agent && npm init -y && npm i /tmp/playwright-core.tar.gz && npx playwright mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && npx playwright install --with-deps && rm -rf /var/lib/apt/lists/* && rm /tmp/playwright-core.tar.gz && chmod -R 777 /ms-playwright |
| RUN /bin/sh -c mkdir /npm-packages && cd npm-packages && npm install @playwright/test@1.33.0 -y # buildkit |
| COPY run-tests.sh /usr/local/bin/run-tests.sh # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/run-tests.sh # buildkit |
| ENTRYPOINT ["run-tests.sh"] |
Labels
| Key | Value |
|---|---|
| com.docker.compose.project | playwright |
| com.docker.compose.service | playwright-production |
| com.docker.compose.version | 2.32.1 |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 20.04 |
Details
2025-02-12 11:14:02 -05:00
Versions (3)
View all
Container
0
OCI / Docker
linux/amd64
649 MiB