Skip to content

Commit 08ebf7e

Browse files
committed
4.0.0-alpha-5-20200326 release
1 parent 63baed3 commit 08ebf7e

File tree

4 files changed

+138
-0
lines changed

4 files changed

+138
-0
lines changed

NodeOpera/Dockerfile

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2+
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
3+
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
4+
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5+
FROM selenium/node-base:4.0.0-alpha-5-20200326
6+
LABEL authors=SeleniumHQ
7+
8+
USER root
9+
10+
11+
#============================================
12+
# Opera
13+
#============================================
14+
# can specify versions by OPERA_VERSION;
15+
# e.g. opera-stable=60.0.3255.109
16+
# opera-beta=60.0.3255.103
17+
# opera-developer=62.0.3323.0
18+
# opera=12.16.1860
19+
# opera-next=12.16.1860
20+
# latest (equivalent to opera-stable)
21+
# opera-beta (pull latest beta)
22+
#============================================
23+
ARG OPERA_VERSION="opera-stable"
24+
RUN wget -q -O - https://deb.opera.com/archive.key | apt-key add - \
25+
&& echo "deb https://deb.opera.com/opera-stable/ stable non-free" >> /etc/apt/sources.list.d/opera-stable.list \
26+
&& apt-get update -qqy \
27+
&& apt-get -qqy install \
28+
${OPERA_VERSION:-opera-stable} \
29+
&& dpkg-divert --divert /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.orig \
30+
--package ${OPERA_VERSION:-opera-stable} --rename --add \
31+
/usr/lib/x86_64-linux-gnu/opera/libffmpeg.so \
32+
&& ln -sf /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so \
33+
&& rm /etc/apt/sources.list.d/opera-stable.list \
34+
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
35+
36+
#=================================
37+
# Opera Launch Script Wrapper
38+
#=================================
39+
COPY wrap_opera_binary /opt/bin/wrap_opera_binary
40+
RUN /opt/bin/wrap_opera_binary
41+
42+
USER seluser
43+
44+
#=====================
45+
# Opera webdriver
46+
#=====================
47+
# can specify versions by OPERA_DRIVER_VERSION
48+
# Latest released version will be used by default
49+
#=====================
50+
ARG OPERA_DRIVER_VERSION
51+
RUN LATEST_VERSION=$(curl -s https://api.github.com/repos/operasoftware/operachromiumdriver/releases/latest | jq .name -r) \
52+
&& [ -z "$OPERA_DRIVER_VERSION" ] && OPERA_DRIVER_VERSION=$LATEST_VERSION \
53+
&& echo "Using operadriver version: "$OPERA_DRIVER_VERSION \
54+
&& wget --no-verbose -O /tmp/operadriver_linux64.zip https://github.com/operasoftware/operachromiumdriver/releases/download/v.${OPERA_DRIVER_VERSION}/operadriver_linux64.zip \
55+
&& rm -rf /opt/selenium/operadriver \
56+
&& unzip /tmp/operadriver_linux64.zip -d /tmp/ \
57+
&& mv /tmp/operadriver_linux64/operadriver /opt/selenium/operadriver-${OPERA_DRIVER_VERSION} \
58+
&& rm -rf /tmp/operadriver_linux64* \
59+
&& chmod 755 /opt/selenium/operadriver-${OPERA_DRIVER_VERSION} \
60+
&& sudo ln -fs /opt/selenium/operadriver-${OPERA_DRIVER_VERSION} /usr/bin/operadriver
61+
62+
COPY generate_config /opt/bin/generate_config
63+
64+
# Generating a default config during build time
65+
RUN /opt/bin/generate_config > /opt/selenium/config.json

StandaloneOpera/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2+
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
3+
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
4+
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5+
FROM selenium/node-opera:4.0.0-alpha-5-20200326
6+
LABEL authors=SeleniumHQ
7+
8+
USER seluser
9+
10+
#====================================
11+
# Scripts to run Selenium Standalone
12+
#====================================
13+
COPY start-selenium-standalone.sh /opt/bin/start-selenium-standalone.sh
14+
15+
#==============================
16+
# Supervisor configuration file
17+
#==============================
18+
COPY selenium.conf /etc/supervisor/conf.d/
19+
20+
21+
EXPOSE 4444

StandaloneOpera/README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Selenium Grid Standalone - Opera
2+
3+
Selenium Standalone Server with Opera
4+
5+
## Dockerfile
6+
7+
[`selenium/standalone-opera` Dockerfile](https://github.com/SeleniumHQ/docker-selenium/blob/master/StandaloneOpera/Dockerfile)
8+
9+
## How to use this image
10+
11+
12+
```
13+
$ docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-opera
14+
```
15+
16+
## What is Selenium?
17+
_Selenium automates browsers._ That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
18+
19+
Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.
20+
21+
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
22+
23+
## License
24+
25+
View [license information](https://github.com/SeleniumHQ/docker-selenium/blob/master/LICENSE.md) for the software contained in this image.
26+
27+
## Getting Help
28+
29+
### User Group
30+
31+
The first place where people ask for help about Selenium is the [Official User Group](https://groups.google.com/forum/#!forum/selenium-users). Here, you'll find that most of the time, someone already found the problem you are facing right now, and usually reached the solution for which you are looking.
32+
33+
_Note: Please make sure to search the group before asking for something. Your question likely won't get answered if it was previously answered in another discussion!_
34+
35+
### Chat Room
36+
37+
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/) or [SeleniumHQ Slack](https://seleniumhq.herokuapp.com/)
38+
39+
### Issues
40+
41+
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://github.com/SeleniumHQ/selenium/issues).
42+
43+
## Contributing
44+
45+
There are many ways to [contribute](http://docs.seleniumhq.org/about/getting-involved.jsp) whether by answering user questions, additional docs, or pull request we look forward to hearing from you.
46+
47+
If you do supply a patch we will need you to [sign the CLA](https://spreadsheets.google.com/spreadsheet/viewform?hl=en_US&formkey=dFFjXzBzM1VwekFlOWFWMjFFRjJMRFE6MQ#gid=0). We are part of [SFC](http://www.sfconservancy.org/)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
#
3+
# IMPORTANT: Change this file only in directory Standalone!
4+
5+
java -jar /opt/selenium/selenium-server.jar standalone

0 commit comments

Comments
 (0)