Skip to content

Commit bad548f

Browse files
authored
Merge pull request SeleniumHQ#614 from pabloFuente/master
pulseaudio package installation for Firefox containers
2 parents 84be4c6 + 1ed0c7b commit bad548f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

NodeFirefox/Dockerfile.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ RUN wget --no-verbose -O /tmp/geckodriver.tar.gz https://github.com/mozilla/geck
2727
&& chmod 755 /opt/geckodriver-$GECKODRIVER_VERSION \
2828
&& ln -fs /opt/geckodriver-$GECKODRIVER_VERSION /usr/bin/geckodriver
2929

30+
# Install 'pulseaudio' package to support WebRTC audio streams
31+
RUN apt-get update && apt-get install -y pulseaudio
32+
3033
USER seluser
3134

3235
COPY generate_config /opt/bin/generate_config
@@ -38,3 +41,5 @@ RUN sudo echo ""
3841

3942
# Generating a default config during build time
4043
RUN /opt/bin/generate_config > /opt/selenium/config.json
44+
45+

0 commit comments

Comments
 (0)