Skip to content

Commit 0ea6f52

Browse files
committed
fix(docker): declare the image name template in the stage that uses it
1 parent 264da9e commit 0ea6f52

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎utils/docker/Dockerfile.jammy‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ FROM ${ACR_CACHE_PREFIX}ubuntu:jammy AS base
33

44
ARG DEBIAN_FRONTEND=noninteractive
55
ARG TZ=America/Los_Angeles
6-
ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright/java:v%version%-jammy"
76
ARG UBUNTU_MIRROR_PREFIX
87

98
ENV LANG=C.UTF-8
@@ -58,6 +57,8 @@ RUN --mount=type=bind,source=.,target=/tmp/pw-java,rw \
5857

5958
FROM base
6059

60+
ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright/java:v%version%-jammy"
61+
6162
# Browsers will remain downloaded in `/ms-playwright`.
6263
# Note: make sure to set 777 to the registry so that any user can access
6364
# registry.

‎utils/docker/Dockerfile.noble‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ FROM ${ACR_CACHE_PREFIX}ubuntu:noble AS base
33

44
ARG DEBIAN_FRONTEND=noninteractive
55
ARG TZ=America/Los_Angeles
6-
ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright/java:v%version%-noble"
76
ARG UBUNTU_MIRROR_PREFIX
87

98
ENV LANG=C.UTF-8
@@ -58,6 +57,8 @@ RUN --mount=type=bind,source=.,target=/tmp/pw-java,rw \
5857

5958
FROM base
6059

60+
ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright/java:v%version%-noble"
61+
6162
# Browsers will remain downloaded in `/ms-playwright`.
6263
# Note: make sure to set 777 to the registry so that any user can access
6364
# registry.

‎utils/docker/Dockerfile.resolute‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ FROM ${ACR_CACHE_PREFIX}ubuntu:resolute AS base
33

44
ARG DEBIAN_FRONTEND=noninteractive
55
ARG TZ=America/Los_Angeles
6-
ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright/java:v%version%-resolute"
76
ARG UBUNTU_MIRROR_PREFIX
87

98
ENV LANG=C.UTF-8
@@ -52,6 +51,8 @@ RUN --mount=type=bind,source=.,target=/tmp/pw-java,rw \
5251

5352
FROM base
5453

54+
ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright/java:v%version%-resolute"
55+
5556
# Browsers will remain downloaded in `/ms-playwright`.
5657
# Note: make sure to set 777 to the registry so that any user can access
5758
# registry.

0 commit comments

Comments
 (0)