Skip to content

Commit 222d01c

Browse files
authored
devops(docker): Install ffmpeg dependency, adding codecs necessary for video playback in Firefox (#1627)
Fixes #1613
1 parent 39e06f0 commit 222d01c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/docker/Dockerfile.bionic

+6-2
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,16 @@ RUN apt-get install -y libnss3 \
4141

4242
RUN apt-get install -y libdbus-glib-1-2
4343

44-
# 5. Add user so we don't need --no-sandbox in Chromium
44+
# 5. Install ffmpeg to bring in audio and video codecs necessary for playing videos in Firefox.
45+
46+
RUN apt-get install -y ffmpeg
47+
48+
# 6. Add user so we don't need --no-sandbox in Chromium
4549
RUN groupadd -r pwuser && useradd -r -g pwuser -G audio,video pwuser \
4650
&& mkdir -p /home/pwuser/Downloads \
4751
&& chown -R pwuser:pwuser /home/pwuser
4852

49-
# 6. (Optional) Install XVFB if there's a need to run browsers in headful mode
53+
# 7. (Optional) Install XVFB if there's a need to run browsers in headful mode
5054
RUN apt-get install -y xvfb
5155

5256
# Run everything after as non-privileged user.

0 commit comments

Comments
 (0)