File tree Expand file tree Collapse file tree 4 files changed +20
-5
lines changed
Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 1- FROM fedora:24
1+ FROM fedora:25
22
33MAINTAINER Paul Podgorsek <
[email protected] >
44LABEL description Robot Framework in Docker.
55
66VOLUME /opt/robotframework/reports
77VOLUME /opt/robotframework/tests
88
9+ COPY dnf/google-chrome.repo /etc/yum.repos.d/google-chrome.repo
10+
911RUN dnf upgrade -y\
10- && dnf install -y firefox-49.0-2.fc24\
12+ && dnf install -y firefox-50.1.0-1.fc25\
13+ google-chrome-stable-55.0.2883.87-1\
1114 python-pip\
1215 wxPython\
1316 xorg-x11-server-Xvfb\
@@ -17,6 +20,7 @@ RUN pip install robotframework==3.0\
1720 robotframework-selenium2library==1.8.0
1821
1922COPY bin/firefox.sh /opt/robotframework/bin/firefox
23+ COPY bin/google-chrome.sh /opt/robotframework/bin/google-chrome
2024
2125ENV PATH=/opt/robotframework/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2226
Original file line number Diff line number Diff line change 1- # Robot Framework in Docker
1+ # Robot Framework in Docker, with Firefox and Chrome
22
33## What is it?
44
55This project consists of a Docker image containing a Robot Framework installation.
66
7- This installation also contains Firefox and the Selenium library for Robot Framework. The test cases and reports should be mounted as volumes.
7+ This installation also contains Firefox, Chrome and the Selenium library for Robot Framework. The test cases and reports should be mounted as volumes.
88
99## Versioning
1010
@@ -17,7 +17,8 @@ The versions used in the latest version are:
1717
1818* Robot Framework 3.0
1919* Robot Framework selenium2library 1.8.0
20- * Firefox 49.0
20+ * Firefox 50.1
21+ * Google Chrome 55.0
2122
2223## Running the container
2324
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # Xvfb is used to run Chrome in a virtual X server, as there is no graphical interface.
4+ xvfb-run /usr/bin/google-chrome
Original file line number Diff line number Diff line change 1+ [google-chrome]
2+ name=google-chrome - \$basearch
3+ baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch
4+ enabled=1
5+ gpgcheck=1
6+ gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
You can’t perform that action at this time.
0 commit comments