-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Description
Version
1.55
Steps to reproduce
pom.xml playwright version matches the version of the image according to the official doc
https://playwright.dev/java/docs/docker
Also tested in 1.40
dockerfile as shown here (also tested with jammy)
FROM mcr.microsoft.com/playwright/java:v1.55.0-noble
RUN mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install --with-deps chromium chrome"
ARG JAR_FILE=target/co-daas-tax-history-scheduled-*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
deploy with ci (github actions) image should have all the dependencies for the playwright
deployment with this variables (I also tested only with PLAYWRIGHT_BROWSERS_PATH
and webdriver.gecko.driver
)
- name: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD
value: '1'
- name: PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS
value: 'true'
- name: PLAYWRIGHT_BROWSERS_PATH
value: /ms-playwright
- name: webdriver.gecko.driver
value: /tmp/geckodriver-v0-32-0-linux64
Expected behavior
Playwright working normally
Actual behavior
not working and crashing because this message
/tmp/playwright-java-14973377484975268723/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/playwright-java-14973377484975268723/node)
java.io.IOException: Stream closed
Additional context
I know is reduncdant the install of extra webbrowsers and dependencies, but its not working (2 days trying to make it work)
Environment
Kubernetes, gke , latest version
Metadata
Metadata
Assignees
Labels
No labels