Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
bd53aff3
Commit
bd53aff3
authored
Jul 12, 2017
by
Jeremy Bowman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Dockerfile for Selenium Firefox w/mp4 video support
parent
f4828620
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
docker/build/chrome/Dockerfile
+19
-0
docker/build/firefox/Dockerfile
+20
-0
No files found.
docker/build/chrome/Dockerfile
0 → 100644
View file @
bd53aff3
FROM
selenium/standalone-chrome-debug:3.4.0-einsteinium
MAINTAINER
edxops
USER
root
# Install a password generator
RUN
apt-get update
-qqy
\
&&
apt-get
-qqy
install
\
pwgen
\
&&
rm
-rf
/var/lib/apt/lists/
*
/var/cache/apt/
*
USER
seluser
CMD
export VNC_PASSWORD=$(pwgen -s -1 $(shuf -i 10-20 -n 1)) \
&& x11vnc -storepasswd $VNC_PASSWORD /home/seluser/.vnc/passwd \
&& echo "Chrome VNC password: $VNC_PASSWORD" \
&& /opt/bin/entry_point.sh
EXPOSE
4444 5900
docker/build/firefox/Dockerfile
0 → 100644
View file @
bd53aff3
FROM
selenium/standalone-firefox-debug:3.4.0-einsteinium
MAINTAINER
edxops
USER
root
# Install a password generator and the codecs needed to support mp4 video in Firefox
RUN
apt-get update
-qqy
\
&&
apt-get
-qqy
install
\
gstreamer1.0-libav
\
pwgen
\
&&
rm
-rf
/var/lib/apt/lists/
*
/var/cache/apt/
*
USER
seluser
CMD
export VNC_PASSWORD=$(pwgen -s -1 $(shuf -i 10-20 -n 1)) \
&& x11vnc -storepasswd $VNC_PASSWORD /home/seluser/.vnc/passwd \
&& echo "Firefox VNC password: $VNC_PASSWORD" \
&& /opt/bin/entry_point.sh
EXPOSE
4444 5900
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment