File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ RUN mkdir /ms-playwright && \
4444COPY . /tmp/pw-java
4545
4646RUN cd /tmp/pw-java && \
47- ./scripts/download_driver.sh && \
4847 mvn install -D skipTests --no-transfer-progress && \
4948 DEBIAN_FRONTEND=noninteractive mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI \
5049 -D exec.args="install-deps" -f playwright/pom.xml --no-transfer-progress && \
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ RUN mkdir /ms-playwright && \
4444COPY . /tmp/pw-java
4545
4646RUN cd /tmp/pw-java && \
47- ./scripts/download_driver.sh && \
4847 mvn install -D skipTests --no-transfer-progress && \
4948 DEBIAN_FRONTEND=noninteractive mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI \
5049 -D exec.args="install-deps" -f playwright/pom.xml --no-transfer-progress && \
Original file line number Diff line number Diff line change 3434
3535PW_TARGET_ARCH=$( echo $1 | cut -c3-)
3636
37+ # Assemble the driver on the host where npm is available; the Dockerfile picks
38+ # it up via `COPY . /tmp/pw-java`.
39+ ../../scripts/download_driver.sh
40+
3741docker build --platform " ${PLATFORM} " --build-arg " PW_TARGET_ARCH=${PW_TARGET_ARCH} " -t " $3 " -f " Dockerfile.$2 " ../../
You can’t perform that action at this time.
0 commit comments