Commit b4d47549 authored by Florentin Schäfer's avatar Florentin Schäfer
Browse files

Pre-Install browser engines for maven-playwright

parent 19288e09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ For tests that use java, node, selenium, chromium
### Image with maven and playwright's dependencies

For projects that use maven, java 21 and playwright.  
Browser engines are downloaded by Playwright on demand.
The included versions of browser engines will only be used by the exact version of Playwright specified in [maven-playwright/pom.xml](maven-playwright/pom.xml).

`registry.reset.inso-w.at/pub/docker/maven-playwright:latest`

+1 −1
Original line number Diff line number Diff line
@@ -7,5 +7,5 @@ COPY pom.xml /tmp/playwright-install/
# note: the mvn command needs a maven repo to work
RUN cd /tmp/playwright-install && mvn exec:java -e \
    -D exec.mainClass=com.microsoft.playwright.CLI \
    -D exec.args="install-deps" \
    -D exec.args="install --with-deps" \
    --batch-mode && rm -rf /tmp/playwright-installer