|
1 | | -FROM fedora:25 |
| 1 | +FROM fedora:26 |
2 | 2 |
|
3 | 3 | MAINTAINER Paul Podgorsek < [email protected]> |
4 | 4 | LABEL description Robot Framework in Docker. |
5 | 5 |
|
6 | 6 | VOLUME /opt/robotframework/reports |
7 | 7 | VOLUME /opt/robotframework/tests |
8 | 8 |
|
9 | | -COPY dnf/google-chrome.repo /etc/yum.repos.d/google-chrome.repo |
10 | | - |
11 | 9 | RUN dnf upgrade -y\ |
12 | 10 | && dnf install -y\ |
13 | | - chromedriver-59.0.3071.104-1.fc25\ |
14 | | - firefox-54.0-2.fc25\ |
15 | | - google-chrome-stable-59.0.3071.115-1\ |
16 | | - python-pip-8.1.2-2.fc25\ |
17 | | - xorg-x11-server-Xvfb-1.19.3-1.fc25\ |
| 11 | + chromedriver-59.0.3071.104-1.fc26\ |
| 12 | + chromium-59.0.3071.104-1.fc26\ |
| 13 | + firefox-54.0-2.fc26\ |
| 14 | + python2-pip-9.0.1-9.fc26\ |
| 15 | + xorg-x11-server-Xvfb-1.19.3-4.fc26\ |
| 16 | + which-2.21-2.fc26\ |
18 | 17 | && dnf clean all |
19 | 18 |
|
20 | 19 | RUN pip install robotframework==3.0.2\ |
21 | 20 | robotframework-selenium2library==1.8.0 |
22 | 21 |
|
23 | | -ADD drivers/geckodriver-v0.13.0-linux64.tar.gz /opt/robotframework/drivers/ |
| 22 | +ADD drivers/geckodriver-v0.18.0-linux64.tar.gz /opt/robotframework/drivers/ |
24 | 23 |
|
25 | | -COPY bin/google-chrome.sh /opt/robotframework/bin/google-chrome |
| 24 | +COPY bin/chromedriver.sh /opt/robotframework/bin/chromedriver |
| 25 | +COPY bin/chromium-browser.sh /opt/robotframework/bin/chromium-browser |
26 | 26 |
|
27 | 27 | # FIXME: below is a workaround, as the path is ignored |
28 | | -RUN mv /opt/google/chrome/google-chrome /opt/google/chrome/google-chrome-original\ |
29 | | - && ln -sfv /opt/robotframework/bin/google-chrome /opt/google/chrome/google-chrome |
| 28 | +RUN mv /usr/lib64/chromium-browser/chromium-browser /usr/lib64/chromium-browser/chromium-browser-original\ |
| 29 | + && ln -sfv /opt/robotframework/bin/chromium-browser /usr/lib64/chromium-browser/chromium-browser |
30 | 30 |
|
31 | 31 | ENV PATH=/opt/robotframework/bin:/opt/robotframework/drivers:$PATH |
32 | 32 |
|
33 | 33 | ENTRYPOINT ["xvfb-run", "--server-args=-screen 0 1920x1080x24 -ac", "robot", "--outputDir", "/opt/robotframework/reports", "/opt/robotframework/tests"] |
| 34 | + |
0 commit comments