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
|
ARG PLAYWRIGHT_VERSION
|
||||||
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble
|
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble
|
||||||
|
# Expose the argument to this build stage
|
||||||
|
ARG PLAYWRIGHT_VERSION
|
||||||
|
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user