File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 44 paths :
55 - ' .github/workflows/test_docker.yml'
66 - ' setup.py'
7+ - ' **/Dockerfile.*'
78 branches :
89 - main
910 - release-*
1011 pull_request :
1112 paths :
1213 - ' .github/workflows/test_docker.yml'
1314 - ' setup.py'
15+ - ' **/Dockerfile.*'
1416 branches :
1517 - main
1618 - release-*
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ FROM ubuntu:bionic
22
33ARG DEBIAN_FRONTEND=noninteractive
44ARG TZ=America/Los_Angeles
5+ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright/python:v%version%-bionic"
56
67# === INSTALL Python ===
78
@@ -38,6 +39,7 @@ RUN mkdir /ms-playwright && \
3839 if [ "$(uname -m)" = "x86_64" ]; then pip install /tmp/*manylinux1_x86_64*.whl; fi && \
3940 # if its arm64 then install the manylinux1_aarch64 pip package
4041 if [ "$(uname -m)" = "aarch64" ]; then pip install /tmp/*manylinux_2_17_aarch64*.whl; fi && \
42+ playwright mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \
4143 playwright install --with-deps && rm -rf /var/lib/apt/lists/* && \
4244 rm /tmp/*.whl && \
4345 rm -rf /ms-playwright-agent && \
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ FROM ubuntu:focal
22
33ARG DEBIAN_FRONTEND=noninteractive
44ARG TZ=America/Los_Angeles
5+ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright/python:v%version%-focal"
56
67# === INSTALL Python ===
78
@@ -38,6 +39,7 @@ RUN mkdir /ms-playwright && \
3839 if [ "$(uname -m)" = "x86_64" ]; then pip install /tmp/*manylinux1_x86_64*.whl; fi && \
3940 # if its arm64 then install the manylinux1_aarch64 pip package
4041 if [ "$(uname -m)" = "aarch64" ]; then pip install /tmp/*manylinux_2_17_aarch64*.whl; fi && \
42+ playwright mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \
4143 playwright install --with-deps && rm -rf /var/lib/apt/lists/* && \
4244 rm /tmp/*.whl && \
4345 rm -rf /ms-playwright-agent && \
You can’t perform that action at this time.
0 commit comments