File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -54,4 +54,13 @@ RUN cd /tmp/pw-java && \
5454 mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI \
5555 -D exec.args="mark-docker-image '${DOCKER_IMAGE_NAME_TEMPLATE}'" -f playwright/pom.xml --no-transfer-progress && \
5656 rm -rf /tmp/pw-java && \
57+ # Workaround for https://github.com/microsoft/playwright/issues/27313
58+ # While the gstreamer plugin load process can be in-process, it ended up throwing
59+ # an error that it can't have libsoup2 and libsoup3 in the same process because
60+ # libgstwebrtc is linked against libsoup2. So we just remove the plugin.
61+ if [ "$(uname -m)" = "aarch64" ]; then \
62+ rm /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstwebrtc.so; \
63+ else \
64+ rm /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwebrtc.so; \
65+ fi && \
5766 chmod -R 777 $PLAYWRIGHT_BROWSERS_PATH
You can’t perform that action at this time.
0 commit comments