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
This commit is contained in:
Michael Telatynski
2026-06-17 10:20:33 +00:00
committed by GitHub
parent 8be053c5aa
commit 8a31c7344f
+3 -1
View File
@@ -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