From 8a31c7344f4e0ffe5f95d9ec776f1fc78c4c1c9a Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 17 Jun 2026 11:20:33 +0100 Subject: [PATCH] Fix playwright-common Dockerfile (#33855) * Fix playwright-common Dockerfile ARG needs putting before the FROM to use it in the FROM, and after the FROM to use it within the stage. * Apply suggestion from @t3chguy --- packages/playwright-common/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/playwright-common/Dockerfile b/packages/playwright-common/Dockerfile index 94294e79e6..4f78434f61 100644 --- a/packages/playwright-common/Dockerfile +++ b/packages/playwright-common/Dockerfile @@ -1,6 +1,8 @@ -# Expose the argument to this build stage +# Expose the argument for use in FROM ARG PLAYWRIGHT_VERSION FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble +# Expose the argument to this build stage +ARG PLAYWRIGHT_VERSION WORKDIR /work