Commit 222d01c 1 parent 39e06f0 commit 222d01c Copy full SHA for 222d01c
File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,16 @@ RUN apt-get install -y libnss3 \
41
41
42
42
RUN apt-get install -y libdbus-glib-1-2
43
43
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
45
49
RUN groupadd -r pwuser && useradd -r -g pwuser -G audio,video pwuser \
46
50
&& mkdir -p /home/pwuser/Downloads \
47
51
&& chown -R pwuser:pwuser /home/pwuser
48
52
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
50
54
RUN apt-get install -y xvfb
51
55
52
56
# Run everything after as non-privileged user.
You can’t perform that action at this time.
0 commit comments