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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user