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 @@ -43,6 +43,15 @@ RUN mkdir /ms-playwright && \
4343 # if its arm64 then install the manylinux1_aarch64 pip package
4444 if [ "$(uname -m)" = "aarch64" ]; then pip install /tmp/*manylinux_2_17_aarch64*.whl; fi && \
4545 playwright mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \
46+ # Workaround for https://github.com/microsoft/playwright/issues/27313
47+ # While the gstreamer plugin load process can be in-process, it ended up throwing
48+ # an error that it can't have libsoup2 and libsoup3 in the same process because
49+ # libgstwebrtc is linked against libsoup2. So we just remove the plugin.
50+ if [ "$(uname -m)" = "aarch64" ]; then \
51+ rm /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstwebrtc.so; \
52+ else \
53+ rm /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwebrtc.so; \
54+ fi && \
4655 playwright install --with-deps && rm -rf /var/lib/apt/lists/* && \
4756 rm /tmp/*.whl && \
4857 rm -rf /ms-playwright-agent && \
You can’t perform that action at this time.
0 commit comments