Loading .gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,12 @@ build-selenium-chromium: DIR: selenium-chromium NAME: selenium-chromium build-maven-playwright: extends: .build-base variables: DIR: maven-playwright NAME: maven-playwright build-debian-mvn: extends: .build-base variables: Loading README.md +7 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,13 @@ For tests that use java, node, selenium, chromium `registry.reset.inso-w.at/pub/docker/selenium-chromium:latest` ### Image with maven and playwright's dependencies For projects that use maven, java 21 and playwright. Browser engines are downloaded by Playwright on demand. `registry.reset.inso-w.at/pub/docker/maven-playwright:latest` ### Coder Perhaps you want to interact with the k8s cluster more directly. This version of Coder comes with kubectl already installed can help with that and is based on https://coder.com/ Loading maven-playwright/Dockerfile 0 → 100644 +11 −0 Original line number Diff line number Diff line FROM docker.io/maven:3-eclipse-temurin-21 RUN mkdir /tmp/playwright-install/ 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" \ --batch-mode && rm -rf /tmp/playwright-installer maven-playwright/pom.xml 0 → 100644 +22 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example</groupId> <artifactId>playwright-install</artifactId> <version>1.0-SNAPSHOT</version> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <java.version>21</java.version> </properties> <dependencies> <dependency> <groupId>com.microsoft.playwright</groupId> <artifactId>playwright</artifactId> <version>1.51.0</version> </dependency> </dependencies> </project> Loading
.gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,12 @@ build-selenium-chromium: DIR: selenium-chromium NAME: selenium-chromium build-maven-playwright: extends: .build-base variables: DIR: maven-playwright NAME: maven-playwright build-debian-mvn: extends: .build-base variables: Loading
README.md +7 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,13 @@ For tests that use java, node, selenium, chromium `registry.reset.inso-w.at/pub/docker/selenium-chromium:latest` ### Image with maven and playwright's dependencies For projects that use maven, java 21 and playwright. Browser engines are downloaded by Playwright on demand. `registry.reset.inso-w.at/pub/docker/maven-playwright:latest` ### Coder Perhaps you want to interact with the k8s cluster more directly. This version of Coder comes with kubectl already installed can help with that and is based on https://coder.com/ Loading
maven-playwright/Dockerfile 0 → 100644 +11 −0 Original line number Diff line number Diff line FROM docker.io/maven:3-eclipse-temurin-21 RUN mkdir /tmp/playwright-install/ 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" \ --batch-mode && rm -rf /tmp/playwright-installer
maven-playwright/pom.xml 0 → 100644 +22 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example</groupId> <artifactId>playwright-install</artifactId> <version>1.0-SNAPSHOT</version> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <java.version>21</java.version> </properties> <dependencies> <dependency> <groupId>com.microsoft.playwright</groupId> <artifactId>playwright</artifactId> <version>1.51.0</version> </dependency> </dependencies> </project>